SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
ByteOrder.cpp File Reference
#include <ByteOrder.h>
#include <cstring>
Include dependency graph for ByteOrder.cpp:

Go to the source code of this file.

Namespaces

 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)
 

Detailed Description

Date
January 2021
Authors
Marino von Wattenwyl
Remarks
Please use clangformat to format the code. See more code style on https://github.com/cpvrlab/SLProject4/wiki/SLProject-Coding-Style

Definition in file ByteOrder.cpp.