def _send_to_consumer(self, block):
self._consumer.write(block)<EOL>self._sent += len(block)<EOL>if self._callback:<EOL><INDENT>self._callback(self._sent, self.length)<EOL><DEDENT>
Send a block of bytes to the consumer.

        Args:
            block (str): Block of bytes