Go to the source code of this file.
|
static uint16_t | osmo_load16le_ext (const void *p, uint8_t n) |
| load unaligned n-byte integer (little-endian encoding) into uint16_t More...
|
|
static uint16_t | osmo_load16be_ext (const void *p, uint8_t n) |
| load unaligned n-byte integer (big-endian encoding) into uint16_t More...
|
|
static void | osmo_store16le_ext (uint16_t x, void *p, uint8_t n) |
| store unaligned n-byte integer (little-endian encoding) from uint16_t More...
|
|
static void | osmo_store16be_ext (uint16_t x, void *p, uint8_t n) |
| store unaligned n-byte integer (big-endian encoding) from uint16_t More...
|
|
static uint16_t | osmo_load16le (const void *p) |
| load unaligned 16-bit integer (little-endian encoding) More...
|
|
static uint16_t | osmo_load16be (const void *p) |
| load unaligned 16-bit integer (big-endian encoding) More...
|
|
static void | osmo_store16le (uint16_t x, void *p) |
| store unaligned 16-bit integer (little-endian encoding) More...
|
|
static void | osmo_store16be (uint16_t x, void *p) |
| store unaligned 16-bit integer (big-endian encoding) More...
|
|
◆ osmo_load16be()
static uint16_t osmo_load16be |
( |
const void * |
p | ) |
|
|
inlinestatic |
◆ osmo_load16be_ext()
static uint16_t osmo_load16be_ext |
( |
const void * |
p, |
|
|
uint8_t |
n |
|
) |
| |
|
inlinestatic |
load unaligned n-byte integer (big-endian encoding) into uint16_t
- Parameters
-
[in] | p | Buffer where integer is stored |
[in] | n | Number of bytes stored in p |
- Returns
- 16 bit unsigned integer
Referenced by osmo_load16be().
◆ osmo_load16le()
static uint16_t osmo_load16le |
( |
const void * |
p | ) |
|
|
inlinestatic |
◆ osmo_load16le_ext()
static uint16_t osmo_load16le_ext |
( |
const void * |
p, |
|
|
uint8_t |
n |
|
) |
| |
|
inlinestatic |
load unaligned n-byte integer (little-endian encoding) into uint16_t
- Parameters
-
[in] | p | Buffer where integer is stored |
[in] | n | Number of bytes stored in p |
- Returns
- 16 bit unsigned integer
Referenced by osmo_load16le().
◆ osmo_store16be()
static void osmo_store16be |
( |
uint16_t |
x, |
|
|
void * |
p |
|
) |
| |
|
inlinestatic |
◆ osmo_store16be_ext()
static void osmo_store16be_ext |
( |
uint16_t |
x, |
|
|
void * |
p, |
|
|
uint8_t |
n |
|
) |
| |
|
inlinestatic |
store unaligned n-byte integer (big-endian encoding) from uint16_t
- Parameters
-
[in] | x | unsigned 16 bit integer |
[out] | p | Buffer to store integer |
[in] | n | Number of bytes to store |
Referenced by osmo_store16be().
◆ osmo_store16le()
static void osmo_store16le |
( |
uint16_t |
x, |
|
|
void * |
p |
|
) |
| |
|
inlinestatic |
◆ osmo_store16le_ext()
static void osmo_store16le_ext |
( |
uint16_t |
x, |
|
|
void * |
p, |
|
|
uint8_t |
n |
|
) |
| |
|
inlinestatic |
store unaligned n-byte integer (little-endian encoding) from uint16_t
- Parameters
-
[in] | x | unsigned 16 bit integer |
[out] | p | Buffer to store integer |
[in] | n | Number of bytes to store |
Referenced by osmo_store16le().