'Return the next byte read from stream. Raise Exception if stream is
at end of file.'

def _read_byte(self):

    byte_ = self._stream.read(1)
    if (not byte_):
        raise Exception('unexpected    end    of    file')
    return byte_
