def read_bytes(self, num):
        if num > self._msg_bytes_left or num > len(self):
            raise IndexError('not enough unread bytes')
        res = self._buffer[self._offset:self._offset + num]
        self._offset += num
        self._msg_bytes_left -= num
        return res
Return a copy of self.
dataset/ETHPy150Open rlenglet/openfaucet/src/openfaucet/buffer.py/ReceiveBuffer.read_bytes--crossover with--dataset/ETHPy150Open adieu/allbuttonspressed/docutils/nodes.py/Node.copy