public function readTinyInt()
    {
        try {
            $bin = $this->getStream()->read(1);

            return ord($bin);
        } catch (StreamException $e) {
            $this->handleStreamException($e, BinaryStreamAccessException::TINYINT);
        }
    }