func (r *reader) Read(p []byte) (int, error) {
	var err error
	n := copy(p, r.bb.B[r.readOffset:])
	if n < len(p) {
		err = io.EOF
	}
	r.readOffset += n
	return n, err
}
// Read reads up to len(p) bytes from bb.
Read reads up to len(p) bytes from bb.
// Read reads up to len ( p ) bytes from bb .
func (r *reader) Read(p []byte) (int, error) {
	var err error
	n := copy(p, r.bb.B[r.readOffset:])
	if n < len(p) {
		err = io.EOF
	}
	r.readOffset += n
	return n, err
}
func ( r * reader ) Read ( p [ ] byte ) ( int , error ) { var err error n := copy ( p , r . bb . B [ r . readOffset : ] ) if n < len ( p ) { err = io . EOF } r . readOffset += n return n , err }
Read reads up to len(p) bytes from bb.
Read reads up to len ( p ) bytes from bb .