def data_to_send(self, amt=None):
        if amt is None:
            data = self._data_to_send
            self._data_to_send = b''
            return data
        else:
            data = self._data_to_send[:amt]
            self._data_to_send = self._data_to_send[amt:]
            return data
Returns some data for sending out of the internal data buffer.
dataset/ETHPy150Open python-hyper/hyper-h2/h2/connection.py/H2Connection.data_to_send