func readFull(r io.Reader, data []byte) error {
	_, err := io.ReadFull(r, data)
	if err == io.EOF {
		return io.ErrUnexpectedEOF
	}
	return err
}
// readFull is like io.ReadFull, except it always returns io.ErrUnexpectedEOF instead of io.EOF.
readFull is like io.ReadFull, except it always returns io.ErrUnexpectedEOF instead of io.EOF.
// readFull is like io . ReadFull except it always returns io . ErrUnexpectedEOF instead of io . EOF .
func readFull(r io.Reader, data []byte) error {
	_, err := io.ReadFull(r, data)
	if err == io.EOF {
		return io.ErrUnexpectedEOF
	}
	return err
}
func readFull ( r io . Reader , data [ ] byte ) error { _ , err := io . ReadFull ( r , data ) if err == io . EOF { return io . ErrUnexpectedEOF } return err }
readFull is like io.ReadFull, except it always returns io.ErrUnexpectedEOF instead of io.EOF.
readFull is like io . ReadFull except it always returns io . ErrUnexpectedEOF instead of io . EOF .