code: func ReaderToBytes(lines io.Reader) []byte {
  	if lines == nil {
  		return []byte{}
  	}
  	b := bp.GetBuffer()
  	defer bp.PutBuffer(b)
  
  	b.ReadFrom(lines)
  
  	bc := make([]byte, b.Len())
  	copy(bc, b.Bytes())
  	return bc
  }
docs: // ReaderToBytes takes an io.Reader argument, reads from it
  // and returns bytes.