Avro.BinaryDecoder.ReadString C# (CSharp) 메소드

ReadString() 공개 메소드

public ReadString ( Stream Stream ) : string
Stream Stream
리턴 string
        public string ReadString(Stream Stream)
        {
            int length = ReadInt(Stream);
            byte[] buffer = new byte[length];
            //TODO: Fix this because it's lame;
            ReadFixed(Stream, buffer);
            return System.Text.Encoding.UTF8.GetString(buffer);
        }