func (b *Buffer) read() (v interface{}, seqno SeqNo) {
	b.x__.Lock()
	defer b.x__.Unlock()
	if b.cursor == nil {
		return nil, 0
	}
	//b.Printf("BFR BEFORE %s", b.StringNoLock())
	v, seqno, b.cursor, b.seqno = b.cursor.Value, b.seqno, b.cursor.Next(), b.seqno+1
	//b.Printf("BFR AFTER  %s", b.StringNoLock())
	return v, seqno
}
// read returns the next element in the buffer read order, or nil otherwise,
// and slides the cursor forward.
read returns the next element in the buffer read order, or nil otherwise,
and slides the cursor forward.
// read returns the next element in the buffer read order or nil otherwise // and slides the cursor forward .
func (b *Buffer) read() (v interface{}, seqno SeqNo) {
	b.x__.Lock()
	defer b.x__.Unlock()
	if b.cursor == nil {
		return nil, 0
	}
	v, seqno, b.cursor, b.seqno = b.cursor.Value, b.seqno, b.cursor.Next(), b.seqno+1
	return v, seqno
}
func ( b * Buffer ) read ( ) ( v interface { } , seqno SeqNo ) { b . x__ . Lock ( ) defer b . x__ . Unlock ( ) if b . cursor == nil { return nil , 0 } v , seqno , b . cursor , b . seqno = b . cursor . Value , b . seqno , b . cursor . Next ( ) , b . seqno + 1 return v , seqno }
read returns the next element in the buffer read order, or nil otherwise,
and slides the cursor forward.
read returns the next element in the buffer read order or nil otherwise and slides the cursor forward .
//b.Printf("BFR BEFORE %s", b.StringNoLock()) //b.Printf("BFR AFTER  %s", b.StringNoLock())