public static NodeLeader Read(Stream stream) { NodeLeader result = new NodeLeader { Number = stream.ReadInt32Network(), Previous = stream.ReadInt32Network(), Next = stream.ReadInt32Network(), TermCount = stream.ReadInt32Network(), FreeOffset = stream.ReadInt32Network() }; return(result); }
public NodeRecord() { Leader = new NodeLeader(); _items = new List <NodeItem>(); }