10 #ifndef SLPROJECT_BYTEORDER_H
11 #define SLPROJECT_BYTEORDER_H
21 # error "Byte order functions require that the machine has a char width of 8 bit"
Abort compilation if a char has not 8 bits, as functions for this case aren't implemented yet.
void toBigEndian32(uint32_t src, char *dest)
void toBigEndian16(uint16_t src, char *dest)
void writeBigEndian32(uint32_t number, std::ostream &stream)
void writeBigEndian16(uint16_t number, std::ostream &stream)
void writeBigEndian64(uint64_t number, std::ostream &stream)
void toBigEndian64(uint64_t src, char *dest)