#include <stdint.h>
#include <string.h>
#include <compat/endian.h>
Go to the source code of this file.
◆ CountBits()
Return the smallest number n such that (x >> n) == 0 (or 64 if the highest bit in x is set.
◆ ReadBE32()
static uint32_t ReadBE32 |
( |
const unsigned char * |
ptr | ) |
|
|
inlinestatic |
◆ ReadBE64()
static uint64_t ReadBE64 |
( |
const unsigned char * |
ptr | ) |
|
|
inlinestatic |
◆ ReadLE16()
static uint16_t ReadLE16 |
( |
const unsigned char * |
ptr | ) |
|
|
inlinestatic |
◆ ReadLE32()
static uint32_t ReadLE32 |
( |
const unsigned char * |
ptr | ) |
|
|
inlinestatic |
◆ ReadLE64()
static uint64_t ReadLE64 |
( |
const unsigned char * |
ptr | ) |
|
|
inlinestatic |
◆ WriteBE32()
static void WriteBE32 |
( |
unsigned char * |
ptr, |
|
|
uint32_t |
x |
|
) |
| |
|
inlinestatic |
◆ WriteBE64()
static void WriteBE64 |
( |
unsigned char * |
ptr, |
|
|
uint64_t |
x |
|
) |
| |
|
inlinestatic |
◆ WriteLE16()
static void WriteLE16 |
( |
unsigned char * |
ptr, |
|
|
uint16_t |
x |
|
) |
| |
|
inlinestatic |
◆ WriteLE32()
static void WriteLE32 |
( |
unsigned char * |
ptr, |
|
|
uint32_t |
x |
|
) |
| |
|
inlinestatic |
◆ WriteLE64()
static void WriteLE64 |
( |
unsigned char * |
ptr, |
|
|
uint64_t |
x |
|
) |
| |
|
inlinestatic |