public override void Serialize(Util.DataSerializer writer)
 {
     base.Serialize(writer);
     writer.WriteShort((short)Book.Count);
     foreach (var r in Book)
     {
         writer.WriteShort((short)r.Purpose);
         writer.WriteContent(r.PrivateKey);
     }
 }
Beispiel #2
0
 public override void Serialize(Util.DataSerializer writer)
 {
     base.Serialize(writer);
     writer.WriteShort((short)Book.Count);
     WriteRecords(writer);
     writer.WriteBin(Signature);
 }
Beispiel #3
0
 public override void Serialize(Util.DataSerializer writer)
 {
     base.Serialize(writer);
     writer.WriteShortString(GroupId);
     writer.WriteShort((short)MessageIds.Count);
     foreach (var m in MessageIds)
     {
         writer.WriteShortString(m);
     }
 }