src/Binary/StreamReader.php
public function readByte(Stream $stream)
    {
        $char = $stream->read(1);
        $byte = ord($char);

        return $byte;
    }
public function readByte(Stream $stream)
    {
        $char = $stream->read(1);
        $byte = ord($char);

        return $byte;
    }
public function readByte ( Stream $ stream ) { $ char = $ stream -> read ( 1 ) ; $ byte = ord ( $ char ) ; return $ byte ; }
Reads a byte.

@param \Protobuf\Stream $stream

@return integer
Reads a byte .