Bigtable/src/DataUtil.php
public static function isSystemLittleEndian()
    {
        if (self::$isLittleEndian === null) {
            self::$isLittleEndian = (pack("P", 2) === pack("Q", 2));
        }
        return self::$isLittleEndian;
    }
public static function isSystemLittleEndian()
    {
        if (self::$isLittleEndian === null) {
            self::$isLittleEndian = (pack("P", 2) === pack("Q", 2));
        }
        return self::$isLittleEndian;
    }
public static function isSystemLittleEndian ( ) { if ( self :: $ isLittleEndian === null ) { self :: $ isLittleEndian = ( pack ( "P" , 2 ) === pack ( "Q" , 2 ) ) ; } return self :: $ isLittleEndian ; }
Check if system is little-endian.

@return bool
Check if system is little - endian .