func (r *ReadBuffer) ReadBytes(n int) []byte {
	if r.err != nil {
		return nil
	}

	if len(r.remaining) < n {
		r.err = ErrEOF
		return nil
	}

	b := r.remaining[0:n]
	r.remaining = r.remaining[n:]
	return b
}
func (r *ReadBuffer) ReadBytes(n int) []byte {
	if r.err != nil {
		return nil
	}

	if len(r.remaining) < n {
		r.err = ErrEOF
		return nil
	}

	b := r.remaining[0:n]
	r.remaining = r.remaining[n:]
	return b
}
func ( r * ReadBuffer ) ReadBytes ( n int ) [ ] byte { if r . err != nil { return nil } if len ( r . remaining ) < n { r . err = ErrEOF return nil } b := r . remaining [ 0 : n ] r . remaining = r . remaining [ n : ] return b }
// ReadBytes returns the next n bytes from the buffer
ReadBytes returns the next n bytes from the buffer