Example #1
0
 public static void Write(this string value, IO.EndianWriter s, Text.StringStorageEncoding encoding)
 {
     s.Write(value, encoding);
 }
Example #2
0
 public Decoder(StringStorageEncoding enc)
 {
     mEncoding = enc; mDec = enc.mBaseEncoding.GetDecoder();
 }
Example #3
0
 // no Write(length) override
 public static void Read(this IO.EndianReader s, out string value, Text.StringStorageEncoding encoding)
 {
     value = s.ReadString(encoding);
 }
Example #4
0
 public Encoder(StringStorageEncoding enc)
 {
     mEncoding = enc; mEnc = enc.mBaseEncoding.GetEncoder();
 }