public void Save(TrieWriter writer, string directory) { foreach (var node in _nodes.Values) { node.SaveI(writer, directory); } }
private void SaveI(TrieWriter writer, string directory) { writer.Put(this, directory); if (_nodes == null) { return; } foreach (var node in _nodes.Values) { node.SaveI(writer, directory); } }