TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ little_endianess()

static bool nlohmann::detail::little_endianess ( int  num = 1)
inlinestaticnoexcept

determine system byte order

Returns
true if and only if system's byte order is little endian
Note
from https://stackoverflow.com/a/1001328/266378

Definition at line 8427 of file json.hpp.

8428{
8429 return *reinterpret_cast<char *>(&num) == 1;
8430}