Skip to main content
Skip table of contents

ByteArrayToUINT16 [LJM User's Guide]

Converts an array of bytes to 16-bit unsigned integer 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_ByteArrayToUINT16(
const unsigned char * aBytes,
int RegisterOffset,
int NumUINT16,
unsigned int * aUINT16)

Parameters

aBytes [in]

The bytes to be converted.

RegisterOffset [in]

The register offset to get the values from in aBytes.

NumUINT16 [in]

The number of values to convert.

aUINT16 [out]

The converted bytes in 16-bit unsigned integer value form.

Returns

LJM errorcode or 0 for no error.

Remarks

See also: LJM_UINT16ToByteArray

JavaScript errors detected

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

If this problem persists, please contact our support.