def parse_packets(self, binary_packets, sniff_times=None, timeout=DEFAULT_TIMEOUT):
        """Parses binary packets and return a list of parsed packets.

        DOES NOT CLOSE tshark. It must be closed manually by calling close() when you're done
        working with it.
        """
        if self.eventloop is None:
            self._setup_eventloop()
        return self.eventloop.run_until_complete(self.parse_packets_async(binary_packets, sniff_times, timeout))
Parses binary packets and return a list of parsed packets.

        DOES NOT CLOSE tshark. It must be closed manually by calling close() when you're done
        working with it.
        
src/pyshark/capture/inmem_capture.py