Ejemplo n.º 1
0
 public void Serialize(LogSerializeContext context, bool hash)
 {
     LogHeader.Serialize(this, context, hash);
     if (!hash)
     {
         context.bw.WriteVarBuffer(Hash);
     }
     SerializeObjects(context, hash);
 }
Ejemplo n.º 2
0
 internal LogEntry(LogDeserializeContext context)
 {
     LogHeader.Deserialize(this, context);
     Hash = context.br.ReadVarBuffer();
     DeserializeObjects(context);
 }