#include <cinttypes>
#include <cstring>
Go to the source code of this file.
|
enum | Endian : uint8_t { Little = 0x00
, Big = 0x01
, Unknown = 0xFF
} |
|
enum | ConvolutionMode { Full = 0
, Central = 1
, ValidPadding = 2
} |
|
|
void | Heph::ChangeEndian (uint8_t *pData, uint8_t dataSize) |
|
constexpr Endian | Heph::operator! (const Endian &lhs) |
|
◆ HEPH_STRINGIFY
#define HEPH_STRINGIFY |
( |
| x | ) |
#x |
converts x to string litteral without expanding the parameter.
◆ HEPH_TOSTRING
converts x to string litteral with expanding the parameter.
◆ CPP_VERSION
#define CPP_VERSION __cplusplus |
◆ HEPH_API
exports/imports the members, methods, and classes for shared libraries.
◆ HEPH_FUNC
#define HEPH_FUNC __func__ |
name of the current function.
◆ HEPH_SYSTEM_ENDIAN
endianness of the current system.
◆ HEPH_CHANGE_ENDIAN
#define HEPH_CHANGE_ENDIAN |
( |
| pData, |
|
|
| dataSize ) Heph::ChangeEndian((uint8_t*)(pData), dataSize) |
changes the endianness of the provided data.
◆ ChangeEndian()
void Heph::ChangeEndian |
( |
uint8_t * | pData, |
|
|
uint8_t | dataSize ) |
changes the endianness of the provided data.
- Parameters
-
pData | pointer to the data. |
dataSize | size of the data in bytes. |
◆ systemEndian
Endian Heph::systemEndian |
|
extern |
endianness of the current system.