/** * Returns the current machine endian order. * * @return integer */ private function _getEndianess() { if (self::$_endianess === 0) { self::$_endianess = $this->_toInt32("") == 1 ? self::LITTLE_ENDIAN_ORDER : self::BIG_ENDIAN_ORDER; } return self::$_endianess; }