public function writeInteger($int)
    {
        try {
            $this->getStream()->write(pack('l', $int));
        } catch (StreamException $e) {
            $this->handleStreamException($e, BinaryStreamAccessException::INT, false);
        }
    }
public function writeInteger($int)
    {
        try {
            $this->getStream()->write(pack('l', $int));
        } catch (StreamException $e) {
            $this->handleStreamException($e, BinaryStreamAccessException::INT, false);
        }
    }
public function writeInteger ( $ int ) { try { $ this -> getStream ( ) -> write ( pack ( 'l' , $ int ) ) ; } catch ( StreamException $ e ) { $ this -> handleStreamException ( $ e , BinaryStreamAccessException :: INT , false ) ; } }
Write a 8 bytes signed integer in the current binary stream.

@param integer $int
@throws \qtism\common\storage\BinaryStreamAccessException
Write a 8 bytes signed integer in the current binary stream .