public static function isSystemLittleEndian()
    {
        if (self::$isLittleEndian === null) {
            self::$isLittleEndian = (pack("P", 2) === pack("Q", 2));
        }
        return self::$isLittleEndian;
    }