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