22 #ifndef ETCPAL_PACK_H_
23 #define ETCPAL_PACK_H_
int16_t etcpal_unpack_i16b(const uint8_t *buf)
Unpack an int16_t from a known big-endian buffer.
Definition: pack.c:34
uint32_t etcpal_unpack_u32l(const uint8_t *buf)
Unpack a uint32_t from a known little-endian buffer.
Definition: pack.c:208
void etcpal_pack_u32l(uint8_t *buf, uint32_t val)
Pack a uint32_t to a known little-endian buffer.
Definition: pack.c:226
int32_t etcpal_unpack_i32b(const uint8_t *buf)
Unpack an int32_t from a known big-endian buffer.
Definition: pack.c:134
uint32_t etcpal_unpack_u32b(const uint8_t *buf)
Unpack a uint32_t from a known big-endian buffer.
Definition: pack.c:174
void etcpal_pack_i32l(uint8_t *buf, int32_t val)
Pack an int32_t to a known little-endian buffer.
Definition: pack.c:164
void etcpal_pack_i32b(uint8_t *buf, int32_t val)
Pack an int32_t to a known big-endian buffer.
Definition: pack.c:144
void etcpal_pack_i16b(uint8_t *buf, int16_t val)
Pack an int16_t to a known big-endian buffer.
Definition: pack.c:44
void etcpal_pack_u16l(uint8_t *buf, uint16_t val)
Pack a uint16_t to a known little-endian buffer.
Definition: pack.c:120
void etcpal_pack_u32b(uint8_t *buf, uint32_t val)
Pack a uint32_t to a known big-endian buffer.
Definition: pack.c:192
int16_t etcpal_unpack_i16l(const uint8_t *buf)
Unpack an int16_t from a known little-endian buffer.
Definition: pack.c:54
uint16_t etcpal_unpack_u16l(const uint8_t *buf)
Unpack a uint16_t from a known little-endian buffer.
Definition: pack.c:104
void etcpal_pack_i16l(uint8_t *buf, int16_t val)
Pack an int16_t to a known little-endian buffer.
Definition: pack.c:64
void etcpal_pack_u16b(uint8_t *buf, uint16_t val)
Pack a uint16_t to a known big-endian buffer.
Definition: pack.c:90
uint16_t etcpal_unpack_u16b(const uint8_t *buf)
Unpack a uint16_t from a known big-endian buffer.
Definition: pack.c:74
int32_t etcpal_unpack_i32l(const uint8_t *buf)
Unpack an int32_t from a known little-endian buffer.
Definition: pack.c:154