![]() |
SLProject 4.0.000
|
#include <cstdint>#include <climits>#include <cstdlib>#include <iostream>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) |