Exemple #1
0
 public override void SerializeNonNull(DSWriter output)
 {
     output.Write(Type);
     output.Write7bUInt((uint)data.Count);
     foreach (var value in data)
     {
         value.Serialize(output);
     }
 }
Exemple #2
0
 public override void SerializeNonNull(DSWriter output)
 {
     output.Write(Type);
     output.Write7bUInt((uint)fields.Count);
     foreach (var flist in fields)
     {
         output.Write7bUInt(flist.Key);
         flist.Value.Serialize(output);
     }
 }
Exemple #3
0
 public static void Serialize(this StoragePremitive p, DSWriter w)
 {
     if (p == null)
     {
         w.Write(EnumerablesEx.AsEnumerable(TypeIdentifier.Null));
     }
     else
     {
         p.SerializeNonNull(w);
     }
 }
 public override void SerializeNonNull(DSWriter output)
 {
     output.Write(Type);
     output.Write(value);
 }
Exemple #5
0
 public override void SerializeNonNull(DSWriter output)
 {
     output.Write(Type);
     output.Write7bUInt((uint)data.Length);
     output.Write(data);
 }