#include <compat/endian.h>
#include <cstdint>
#include <cstring>
Go to the source code of this file.
|
static uint16_t | ReadLE16 (const unsigned char *ptr) |
|
static uint32_t | ReadLE32 (const unsigned char *ptr) |
|
static uint64_t | ReadLE64 (const unsigned char *ptr) |
|
static void | WriteLE16 (unsigned char *ptr, uint16_t x) |
|
static void | WriteLE32 (unsigned char *ptr, uint32_t x) |
|
static void | WriteLE64 (unsigned char *ptr, uint64_t x) |
|
static uint16_t | ReadBE16 (const unsigned char *ptr) |
|
static uint32_t | ReadBE32 (const unsigned char *ptr) |
|
static uint64_t | ReadBE64 (const unsigned char *ptr) |
|
static void | WriteBE16 (unsigned char *ptr, uint16_t x) |
|
static void | WriteBE32 (unsigned char *ptr, uint32_t x) |
|
static void | WriteBE64 (unsigned char *ptr, uint64_t x) |
|
◆ ReadBE16()
static uint16_t ReadBE16 |
( |
const unsigned char * |
ptr | ) |
|
|
inlinestatic |
◆ 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 |
◆ WriteBE16()
static void WriteBE16 |
( |
unsigned char * |
ptr, |
|
|
uint16_t |
x |
|
) |
| |
|
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 |