def read(self, n):
        """
        Read n bytes.

        Will raise BufferUnderflow if there's not enough bytes in the buffer.
        """
        self._check_underflow(n)
        rval = self._input[self._pos:self._pos + n]
        self._pos += n
        return rval
def read ( self , n ) : self . _check_underflow ( n ) rval = self . _input [ self . _pos : self . _pos + n ] self . _pos += n return rval
Read n bytes.

        Will raise BufferUnderflow if there's not enough bytes in the buffer.