|
libarmutils
1.4
|
Endian Swapping Functions. More...
Go to the source code of this file.
Macros | |
| #define | SWAP_BYTES_16(x) |
| Swap byes in 16 bit value. | |
| #define | SWAP_BYTES_32(x) |
| Swap byes in 32 bit value. | |
| #define | SWAP_BYTES_64(x) |
| Swap byes in 64 bit value. | |
Functions | |
| void * | bton_16 (void *data, size_t nvals) |
| Convert array of 16 bit big endian values to native byte order. | |
| void * | bton_32 (void *data, size_t nvals) |
| Convert array of 32 bit big endian values to native byte order. | |
| void * | bton_64 (void *data, size_t nvals) |
| Convert array of 64 bit big endian values to native byte order. | |
| void * | lton_16 (void *data, size_t nvals) |
| Convert array of 16 bit little endian values to native byte order. | |
| void * | lton_32 (void *data, size_t nvals) |
| Convert array of 32 bit little endian values to native byte order. | |
| void * | lton_64 (void *data, size_t nvals) |
| Convert array of 64 bit little endian values to native byte order. | |
| int | bton_read_16 (int fd, void *data, size_t nvals) |
| Read 16 bit values from a big endian binary file. | |
| int | bton_read_32 (int fd, void *data, size_t nvals) |
| Read 32 bit values from a big endian binary file. | |
| int | bton_read_64 (int fd, void *data, size_t nvals) |
| Read 64 bit values from a big endian binary file. | |
| int | lton_read_16 (int fd, void *data, size_t nvals) |
| Read 16 bit values from a little endian binary file. | |
| int | lton_read_32 (int fd, void *data, size_t nvals) |
| Read 32 bit values from a little endian binary file. | |
| int | lton_read_64 (int fd, void *data, size_t nvals) |
| Read 64 bit values from a little endian binary file. | |
Endian Swapping Functions.
Definition in file endian_swap.h.