internal void WriteTo(ObjectWriter writer) { writer.WriteInt32(_concatenatedLowerCaseWords.Length); foreach (var c in _concatenatedLowerCaseWords) { writer.WriteChar(c); } writer.WriteInt32(_nodes.Length); foreach (var node in _nodes) { node.WriteTo(writer); } writer.WriteInt32(_edges.Length); foreach (var edge in _edges) { edge.WriteTo(writer); } }
internal void WriteTo(ObjectWriter writer) { writer.WriteInt32(_concatenatedLowerCaseWords.Length); foreach (var c in _concatenatedLowerCaseWords) { writer.WriteChar(c); } writer.WriteInt32(this._nodes.Length); foreach (var node in _nodes) { node.WriteTo(writer); } writer.WriteInt32(this._edges.Length); foreach (var edge in _edges) { edge.WriteTo(writer); } }