private: endianness_check
Signed-off-by: freestyle <protocolstack9@gmail.com>