// WriteByte writes a single byte into the binary tree.
WriteByte writes a single byte into the binary tree.
// WriteByte writes a single byte into the binary tree .
func (t *binTree) WriteByte(c byte) error {
	t.x = (t.x << 8) | uint32(c)
	t.hoff++
	if t.hoff < 0 {
		return nil
	}
	v := t.front
	if int64(v) < t.hoff {
		t.remove(v)
	}
	t.node[v].x = t.x
	t.add(v)
	t.front++
	if int64(t.front) >= int64(len(t.node)) {
		t.front = 0
	}
	return nil
}
func ( t * binTree ) WriteByte ( c byte ) error { t . x = ( t . x << 8 ) | uint32 ( c ) t . hoff ++ if t . hoff < 0 { return nil } v := t . front if int64 ( v ) < t . hoff { t . remove ( v ) } t . node [ v ] . x = t . x t . add ( v ) t . front ++ if int64 ( t . front ) >= int64 ( len ( t . node ) ) { t . front = 0 } return nil }
WriteByte writes a single byte into the binary tree.
WriteByte writes a single byte into the binary tree .
// We are overwriting old nodes stored in the tree.