Fix big-endian bug

reinterpret_cast causes bug on big-endian CPUs
Changes in version 1.0