func parseBinaryFloat(ann []Symbol, numBytes byte, r io.Reader) (Value, error) {
	// Represents 0e0.
	if numBytes == 0 {
		return Float{annotations: ann, isSet: true, binary: []byte{}}, nil
	}
	if numBytes != 4 && numBytes != 8 {
		return nil, errors.Errorf("invalid float length %d", numBytes)
	}
	buf := make([]byte, numBytes)
	if n, err := r.Read(buf); err != nil || n != int(numBytes) {
		return nil, errors.Errorf("unable to read float - read %d bytes of %d with err: %v", n, numBytes, err)
	}
	return Float{annotations: ann, isSet: true, binary: buf}, nil
}
// parseBinaryFloat parses either the 32-bit or 64-bit version of of an IEEE-754 floating
// point number.
parseBinaryFloat parses either the 32-bit or 64-bit version of of an IEEE-754 floating
point number.
// parseBinaryFloat parses either the 32 - bit or 64 - bit version of of an IEEE - 754 floating // point number .
func parseBinaryFloat(ann []Symbol, numBytes byte, r io.Reader) (Value, error) {
	if numBytes == 0 {
		return Float{annotations: ann, isSet: true, binary: []byte{}}, nil
	}
	if numBytes != 4 && numBytes != 8 {
		return nil, errors.Errorf("invalid float length %d", numBytes)
	}
	buf := make([]byte, numBytes)
	if n, err := r.Read(buf); err != nil || n != int(numBytes) {
		return nil, errors.Errorf("unable to read float - read %d bytes of %d with err: %v", n, numBytes, err)
	}
	return Float{annotations: ann, isSet: true, binary: buf}, nil
}
func parseBinaryFloat ( ann [ ] Symbol , numBytes byte , r io . Reader ) ( Value , error ) { if numBytes == 0 { return Float { annotations : ann , isSet : true , binary : [ ] byte { } } , nil } if numBytes != 4 && numBytes != 8 { return nil , errors . Errorf ( " " , numBytes ) } buf := make ( [ ] byte , numBytes ) if n , err := r . Read ( buf ) ; err != nil || n != int ( numBytes ) { return nil , errors . Errorf ( " " , n , numBytes , err ) } return Float { annotations : ann , isSet : true , binary : buf } , nil }
parseBinaryFloat parses either the 32-bit or 64-bit version of of an IEEE-754 floating
point number.
parseBinaryFloat parses either the 32 - bit or 64 - bit version of of an IEEE - 754 floating point number .
// Represents 0e0.