FSO.Files.Utils.IoBuffer.ReadLongPascalString C# (CSharp) Method

ReadLongPascalString() public method

Reads a pascal string from the current stream, which is prefixed by a 16bit short.
public ReadLongPascalString ( ) : string
return string
        public string ReadLongPascalString()
        {
            var length = ReadInt16();
            return Encoding.ASCII.GetString(Reader.ReadBytes(length));
        }