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