public function readInteger()
    {
        try {
            $bin = $this->getStream()->read(4);

            return current(unpack('l', $bin));
        } catch (StreamException $e) {
            $this->handleStreamException($e, BinaryStreamAccessException::INT);
        }
    }
public function readInteger()
    {
        try {
            $bin = $this->getStream()->read(4);

            return current(unpack('l', $bin));
        } catch (StreamException $e) {
            $this->handleStreamException($e, BinaryStreamAccessException::INT);
        }
    }
public function readInteger ( ) { try { $ bin = $ this -> getStream ( ) -> read ( 4 ) ; return current ( unpack ( 'l' , $ bin ) ) ; } catch ( StreamException $ e ) { $ this -> handleStreamException ( $ e , BinaryStreamAccessException :: INT ) ; } }
Read a 8 bytes signed integer from the current binary stream.

@throws \qtism\common\storage\BinaryStreamAccessException
@return integer
Read a 8 bytes signed integer from the current binary stream .