def add_buffer(self, data=''):
        if data:
            self.__buffer += data

        packets = self.__buffer.split(DELIMITER)
        self.__buffer = b''

        for packet in packets:
            try:
                self.__process_packet(packet)
            except __HOLE__:
                self.__buffer = packet
dataset/ETHPy150Open circuits/circuits/circuits/node/protocol.py/Protocol.add_buffer