rename endianess functions