code: func skipReaderBuf(rd io.Reader, buf []byte) error {
  	for {
  		_, err := rd.Read(buf)
  		if err == io.EOF {
  			break
  		}
  		if err != nil {
  			return err
  		}
  	}
  	return nil
  }
docs: // skipReaderBuf just reads rd until io.EOF.