def receive_data(self, data):
        events = []
        self.incoming_buffer.add_data(data)
        self.incoming_buffer.max_frame_size = self.max_inbound_frame_size

        try:
            for frame in self.incoming_buffer:
                events.extend(self._receive_frame(frame))
        except InvalidPaddingError:
            self._terminate_connection(PROTOCOL_ERROR)
            raise ProtocolError("Received frame with invalid padding.")
        except ProtocolError as e:
            # For whatever reason, receiving the frame caused a protocol error.
            # We should prepare to emit a GoAway frame before throwing the
            # exception up further. No need for an event: the exception will
            # do fine.
            self._terminate_connection(e.error_code)
            raise

        return events
Writes the message to the log file with the DEBUG level.
dataset/ETHPy150Open python-hyper/hyper-h2/h2/connection.py/H2Connection.receive_data--crossover with--dataset/ETHPy150Open shellderp/sublime-robot-plugin/lib/robot/api/logger.py/debug