def read_bytes(self, num_bytes, callback=None, streaming_callback=None,
                   partial=False):
        future = self._set_read_callback(callback)
        assert isinstance(num_bytes, numbers.Integral)
        self._read_bytes = num_bytes
        self._read_partial = partial
        self._streaming_callback = stack_context.wrap(streaming_callback)
        self._try_inline_read()
        return future
Asynchronously read a number of bytes.
dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/iostream.py/BaseIOStream.read_bytes