Medial Code Documentation
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
endian.h File Reference

Endian testing, need c++11. More...

#include "./base.h"

Go to the source code of this file.

Namespaces

namespace  dmlc
 namespace for dmlc
 

Macros

#define DMLC_IO_NO_ENDIAN_SWAP   (DMLC_LITTLE_ENDIAN == DMLC_IO_USE_LITTLE_ENDIAN)
 whether serialize using little endian
 

Functions

void dmlc::ByteSwap (void *data, size_t elem_bytes, size_t num_elems)
 A generic inplace byte swapping function.
 

Detailed Description

Endian testing, need c++11.

Copyright (c) 2017 by Contributors