Added Network Byte Order
This commit is contained in:
parent
08b9e92d25
commit
8b17c40aa6
@ -19,7 +19,10 @@
|
|||||||
class SerializeIF {
|
class SerializeIF {
|
||||||
public:
|
public:
|
||||||
enum class Endianness : uint8_t {
|
enum class Endianness : uint8_t {
|
||||||
BIG, LITTLE, MACHINE
|
BIG,
|
||||||
|
LITTLE,
|
||||||
|
MACHINE,
|
||||||
|
NETWORK = BIG // Added for convenience like htons on sockets
|
||||||
};
|
};
|
||||||
|
|
||||||
static const uint8_t INTERFACE_ID = CLASS_ID::SERIALIZE_IF;
|
static const uint8_t INTERFACE_ID = CLASS_ID::SERIALIZE_IF;
|
||||||
|
Loading…
Reference in New Issue
Block a user