Created library for all endianness-related functions