예제 #1
0
        public string ReadString()
        {
            var length        = SerDe.Convert(stream.Reader.ReadInt32());
            var stringAsBytes = stream.Reader.ReadBytes(length);

            return(SerDe.ToString(stringAsBytes));
        }
예제 #2
0
        public string ReadString(int length)
        {
            var stringAsBytes = stream.Reader.ReadBytes(length);

            return(SerDe.ToString(stringAsBytes));
        }