// dump prints a representation of the binary tree into the writer.
dump prints a representation of the binary tree into the writer.
// dump prints a representation of the binary tree into the writer .
func (t *binTree) dump(w io.Writer) error {
	bw := bufio.NewWriter(w)
	t.dumpNode(bw, t.root, 0)
	return bw.Flush()
}
func ( t * binTree ) dump ( w io . Writer ) error { bw := bufio . NewWriter ( w ) t . dumpNode ( bw , t . root , 0 ) return bw . Flush ( ) }
dump prints a representation of the binary tree into the writer.
dump prints a representation of the binary tree into the writer .