public function writeShort($short)
    {
        try {
            $this->getStream()->write(pack('S', $short));
        } catch (StreamException $e) {
            $this->handleStreamException($e, BinaryStreamAccessException::SHORT, false);
        }
    }
public function writeShort($short)
    {
        try {
            $this->getStream()->write(pack('S', $short));
        } catch (StreamException $e) {
            $this->handleStreamException($e, BinaryStreamAccessException::SHORT, false);
        }
    }
public function writeShort ( $ short ) { try { $ this -> getStream ( ) -> write ( pack ( 'S' , $ short ) ) ; } catch ( StreamException $ e ) { $ this -> handleStreamException ( $ e , BinaryStreamAccessException :: SHORT , false ) ; } }
Write a 2 bytes unsigned integer in the current binary stream.

@param integer $short
@throws \qtism\common\storage\BinaryStreamAccessException
Write a 2 bytes unsigned integer in the current binary stream .