- ByteArrayToINT32 | LabJack
« Close

Datasheets and User Guides

App Notes

Software & Driver

Monday April 6th, 2020
Support: LabJack engineers available through email and chat.
Shipping: We are processing and shipping all orders.
Stock: 55/56 products in stock. More details.
Supply Chain: Some disruptions. More details. - ByteArrayToINT32

Converts an array of bytes to 32-bit 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.


                      const unsigned char * aBytes,
                      int RegisterOffset,
                      int NumINT32,
                      int * aINT32)


aBytes [in]
The bytes to be converted.
RegisterOffset [in]
The register offset to get the values from in aBytes.
NumINT32 [in]
The number of values to convert.
aINT32 [out]
The converted bytes in 32-bit integer value form.


LJM errorcode or 0 for no error.


See also: LJM_INT32ToByteArray