bool IsLitterEndian() { union UTest { std::uint16_t t; std::uint8_t c; } endianTest{ 0x01 }; return (endianTest.c == 0x01); }