Binary Data Utilities
[Utilities]
Detailed Description
- See im_util.h
Enumerations | |
enum | imByteOrder { IM_LITTLEENDIAN, IM_BIGENDIAN } |
Functions | |
int | imBinCPUByteOrder (void) |
void | imBinSwapBytes (void *data, int count, int size) |
void | imBinSwapBytes2 (void *data, int count) |
void | imBinSwapBytes4 (void *data, int count) |
void | imBinSwapBytes8 (void *data, int count) |
Enumeration Type Documentation
|
CPU Byte Orders.
00174 { 00175 IM_LITTLEENDIAN, /**< Little Endian - The most significant byte is on the right end of a word. Used by Intel processors. */ 00176 IM_BIGENDIAN /**< Big Endian - The most significant byte is on the left end of a word. Used by Motorola processors, also is the network standard byte order. */ 00177 };
|
Function Documentation
|
Returns the current CPU byte order. |
|
Changes the byte order of an array of 2, 4 or 8 byte values. |
|
Changes the byte order of an array of 2 byte values. |
|
Inverts the byte order of the 4 byte values |
|
Inverts the byte order of the 8 byte values |