private function getEndianess()
    {
        if (0 === self::$endianess) {
            self::$endianess = $this->fromInt32("\x01\x00\x00\x00") == 1
                             ? self::LITTLE_ENDIAN_ORDER
                             : self::BIG_ENDIAN_ORDER;
        }
        return self::$endianess;
    }
private function getEndianess()
    {
        if (0 === self::$endianess) {
            self::$endianess = $this->fromInt32("\x01\x00\x00\x00") == 1
                             ? self::LITTLE_ENDIAN_ORDER
                             : self::BIG_ENDIAN_ORDER;
        }
        return self::$endianess;
    }
private function getEndianess ( ) { if ( 0 === self :: $ endianess ) { self :: $ endianess = $ this -> fromInt32 ( "\x01\x00\x00\x00" ) == 1 ? self :: LITTLE_ENDIAN_ORDER : self :: BIG_ENDIAN_ORDER ; } return self :: $ endianess ; }
Returns the current machine endian order.

@return integer
Returns the current machine endian order .