public void Save(BinaryWriter writer) { writer.Write(IsBranch); if (!IsBranch) { BinaryWriterExtensions.Write7BitEncodedInt(writer, Symbol); return; } Left.Save(writer); Right.Save(writer); }
public void Save(BinaryWriter writer) { _root.Save(writer); }