Example #1
0
 public override void Write(Library.Collections.BitStream stream, ref string value, MySerializeInfo info)
 {
     stream.WritePrefixLengthString(value, 0, value.Length, info.Encoding);
 }
Example #2
0
        public override void Write(Library.Collections.BitStream stream, ref Guid value, MySerializeInfo info)
        {
            string s = value.ToString();

            stream.WritePrefixLengthString(s, 0, s.Length, info.Encoding);
        }