Added global configurable endian-ness