Rewrite content to use Predef endian detection. This removes the non-BSL license use.