/** * Read a four byte 32-bit UNSIGNED int. * * @param int $endianess read number with specified endianess, defaults to the file endianess. * * @return int */ public function readUint32($endianess = -1) { if (isset($this->handle)) { return DataHandler::unpackUint32(fread($this->handle, 4), $this->getTargetEndianess($endianess)); } return 0; }