Beispiel #1
0
 public override int WritePayload(MemoryStream stream)
 {
     byte[] bytes = BitConverter.GetBytes(leafCount);
     Node.Write(stream);
     stream.Write(bytes, 0, bytes.Length);
     return(NodeAddress.LEN + 2);
 }
Beispiel #2
0
 public override int WritePayload(MemoryStream stream)
 {
     node.Write(stream);
     return(NodeAddress.LEN);
 }