def feed_packets(self, binary_packets, linktype=LinkTypes.ETHERNET):
        self._packets_to_write = binary_packets
        self._current_linktype = linktype
        self.load_packets(packet_count=len(binary_packets))
        return self[-len(binary_packets):]
Gets a list of binary packets, parses them using tshark and returns their parsed values.
dataset/ETHPy150Open KimiNewt/pyshark/src/pyshark/capture/inmem_capture.py/InMemCapture.feed_packets