public function writeShort($short)
    {
        try {
            $this->getStream()->write(pack('S', $short));
        } catch (StreamException $e) {
            $this->handleStreamException($e, BinaryStreamAccessException::SHORT, false);
        }
    }