LibEndian Class Reference

#include <LibEndian.hpp>

Inheritance diagram for LibEndian:
BigEndian LittleEndian

Static Public Attributes

static const uint8_t UINT8_SIZE = 1
 
static const uint8_t UINT16_SIZE = 2
 
static const uint8_t UINT32_SIZE = 4
 
static const uint8_t UINT48_SIZE = 6
 
static const uint8_t UINT64_SIZE = 8
 
static const uint8_t INT8_SIZE = 1
 
static const uint8_t INT16_SIZE = 2
 
static const uint8_t INT32_SIZE = 4
 
static const uint8_t INT48_SIZE = 6
 
static const uint8_t INT64_SIZE = 8
 
static const uint8_t FLOAT32_SIZE = 4
 
static const uint8_t FLOAT64_SIZE = 8
 

Detailed Description

Define common variable size

Field Documentation

◆ FLOAT32_SIZE

const uint8_t LibEndian::FLOAT32_SIZE = 4
static

Size of float variable (6 bytes)

◆ FLOAT64_SIZE

const uint8_t LibEndian::FLOAT64_SIZE = 8
static

Size of double variable (8 bytes)

◆ INT16_SIZE

const uint8_t LibEndian::INT16_SIZE = 2
static

Size of int16_t variable (2 bytes)

Referenced by LittleEndian::SET_INT16(), and BigEndian::SET_INT16().

◆ INT32_SIZE

const uint8_t LibEndian::INT32_SIZE = 4
static

Size of int32_t variable (4 bytes)

Referenced by LittleEndian::SET_INT32(), and BigEndian::SET_INT32().

◆ INT48_SIZE

const uint8_t LibEndian::INT48_SIZE = 6
static

Size of int48_t variable (6 bytes)

Referenced by LittleEndian::SET_INT48(), and BigEndian::SET_INT48().

◆ INT64_SIZE

const uint8_t LibEndian::INT64_SIZE = 8
static

Size of int64_t variable (8 bytes)

Referenced by LittleEndian::SET_INT64(), and BigEndian::SET_INT64().

◆ INT8_SIZE

const uint8_t LibEndian::INT8_SIZE = 1
static

Size of int8_t variable (1 byte)

Referenced by LittleEndian::SET_INT8(), and BigEndian::SET_INT8().

◆ UINT16_SIZE

const uint8_t LibEndian::UINT16_SIZE = 2
static

Size of uint16_t variable (2 bytes)

Referenced by LittleEndian::SET_UINT16(), and BigEndian::SET_UINT16().

◆ UINT32_SIZE

const uint8_t LibEndian::UINT32_SIZE = 4
static

◆ UINT48_SIZE

const uint8_t LibEndian::UINT48_SIZE = 6
static

Size of uint48_t variable (6 bytes)

Referenced by LittleEndian::SET_UINT48(), and BigEndian::SET_UINT48().

◆ UINT64_SIZE

const uint8_t LibEndian::UINT64_SIZE = 8
static

◆ UINT8_SIZE

const uint8_t LibEndian::UINT8_SIZE = 1
static

Size of uint8_t variable (1 byte)

Referenced by LittleEndian::SET_UINT8(), and BigEndian::SET_UINT8().


The documentation for this class was generated from the following file: