SLProject 4.0.000
ByteOrder.h File Reference
#include <cstdint>
#include <climits>
#include <cstdlib>
#include <iostream>
Include dependency graph for ByteOrder.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  ByteOrder
 Abort compilation if a char has not 8 bits, as functions for this case aren't implemented yet.
 

Functions

void ByteOrder::toBigEndian16 (uint16_t src, char *dest)
 
void ByteOrder::toBigEndian32 (uint32_t src, char *dest)
 
void ByteOrder::toBigEndian64 (uint64_t src, char *dest)
 
void ByteOrder::writeBigEndian16 (uint16_t number, std::ostream &stream)
 
void ByteOrder::writeBigEndian32 (uint32_t number, std::ostream &stream)
 
void ByteOrder::writeBigEndian64 (uint64_t number, std::ostream &stream)