mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
add extRLE16 encoder/decoder
This commit is contained in:
parent
0b3bb36188
commit
73a8343f61
4 changed files with 85 additions and 8 deletions
|
|
@ -33,7 +33,7 @@ namespace dataio {
|
|||
/// @param value source integer
|
||||
/// @return integer with hardware byte-order
|
||||
template <typename T>
|
||||
T be2h(T value){
|
||||
inline T be2h(T value){
|
||||
if (is_big_endian()) {
|
||||
return value;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue