func (b *Buffer) Remove(before SeqNo) {
	b.ctlz__.Lock()
	defer b.ctlz__.Unlock()
	//
	n, _ := b.remove(before)
	// Send write permissions
	for i := 0; i < n; i++ {
		b.wch <- struct{}{}
	}
}
// Remove removes all items from the buffer whose sequence number is smaller than before.
Remove removes all items from the buffer whose sequence number is smaller than before.
// Remove removes all items from the buffer whose sequence number is smaller than before .
func (b *Buffer) Remove(before SeqNo) {
	b.ctlz__.Lock()
	defer b.ctlz__.Unlock()
	n, _ := b.remove(before)
	 Send write permissions
	for i := 0; i < n; i++ {
		b.wch <- struct{}{}
	}
}
func ( b * Buffer ) Remove ( before SeqNo ) { b . ctlz__ . Lock ( ) defer b . ctlz__ . Unlock ( ) n , _ := b . remove ( before ) for i := 0 ; i < n ; i ++ { b . wch <- struct { } { } } }
Remove removes all items from the buffer whose sequence number is smaller than before.
Remove removes all items from the buffer whose sequence number is smaller than before .
// // Send write permissions