public static void Serialize(this StoragePremitive p, DSWriter w) { if(p == null) { w.Write(Collections.AsEnumerable(TypeIdentifier.Null)); } else { p.SerializeNonNull(w); } }
public override void SerializeNonNull(DSWriter output) { output.Write(Type); output.Write(value); }
public virtual void SerializeNonNull(DSWriter output) { throw new NotImplementedException(); }
public override void SerializeNonNull(DSWriter output) { output.Write(Type); output.Write7bUInt((uint)data.Length); output.Write(data); }