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) |
enum imByteOrder |
int imBinCPUByteOrder | ( | void | ) |
Returns the current CPU byte order.
void imBinSwapBytes | ( | void * | data, | |
int | count, | |||
int | size | |||
) |
Changes the byte order of an array of 2, 4 or 8 byte values.
void imBinSwapBytes2 | ( | void * | data, | |
int | count | |||
) |
Changes the byte order of an array of 2 byte values.
void imBinSwapBytes4 | ( | void * | data, | |
int | count | |||
) |
Inverts the byte order of the 4 byte values
void imBinSwapBytes8 | ( | void * | data, | |
int | count | |||
) |
Inverts the byte order of the 8 byte values