Skip to main content
Skip table of contents

UINT16ToByteArray [LJM User's Guide]

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

Parameters

aUINT16 [in]

The array of values to be converted to bytes.

RegisterOffset [in]

The register offset to put the converted values in aBytes.

NumUINT16 [in]

The number of values to convert.

aBytes [out]

The converted values in byte form.

Returns

LJM errorcode or 0 for no error.

Remarks

See also: LJM_ByteArrayToUINT16

JavaScript errors detected

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

If this problem persists, please contact our support.