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