Skip to main content
Skip table of contents

ByteArrayToFLOAT32 [LJM User's Guide]

Converts an array of bytes to 32-bit float values, performing automatic endian conversions if necessary.

This function is not needed except for applications performing raw byte manipulation, as with the Raw Byte functions.

Syntax

LJM_ERROR_RETURN LJM_ByteArrayToFLOAT32(
const unsigned char * aBytes,
int RegisterOffset,
int NumFLOAT32,
float * aFLOAT32)

Parameters

aBytes [in]

The bytes to be converted.

RegisterOffset [in]

The register offset to get the values from in aBytes.

NumFLOAT32 [in]

The number of values to convert.

aFLOAT32 [out]

The converted bytes in 32-bit float value form.

Returns

LJM errorcode or 0 for no error.

Remarks

See also: LJM_FLOAT32ToByteArray

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.