예제 #1
0
 /**
  * Read an eight byte 64-bit UNSIGNED long.
  *
  * @param int $endianess read number with specified endianess, defaults to the file endianess.
  *
  * @return int
  */
 public function readUint64($endianess = -1)
 {
     if (isset($this->handle)) {
         return DataHandler::unpackUint64(fread($this->handle, 8), $this->getTargetEndianess($endianess));
     }
     return 0;
 }