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); } }