src/common/integer.h File Reference
Reading and writing integers from and to buffers.
More...
|
Defines |
#define | integer_le_16(n) (n) |
#define | integer_le_32(n) (n) |
#define | integer_le_64(n) (n) |
Functions |
static uint16_t | integer_read_16 (const uint8_t buf[static 2]) |
static uint32_t | integer_read_32 (const uint8_t buf[static 4]) |
static void | integer_write_16 (uint8_t buf[static 2], uint16_t num) |
static void | integer_write_32 (uint8_t buf[static 4], uint32_t num) |
Detailed Description
Reading and writing integers from and to buffers.