Beispiel #1
0
        public override String Read(Stream stream)
        {
            Int32 length = _accessorVarInt.Read(stream);

            if (length == 0)
            {
                return(string.Empty);
            }
            var data  = _accessorByte.ReadArray(stream, length);
            var value = Encoding.UTF8.GetString(data);

            return(value);
        }