public function writeTinyInt($tinyInt)
    {
        try {
            $this->getStream()->write(chr($tinyInt));
        } catch (StreamException $e) {
            $this->handleStreamException($e, BinaryStreamAccessException::TINYINT, false);
        }
    }