˓f9 GddZdS)c(eZdZdZddZdZddZdS)BaseTsharkOutputParseriTcK|||\}}|r||}||fS||jd{V}||z }|st d|fS)akA coroutine which returns a single packet if it can be read from the given StreamReader. :return a tuple of (packet, remaining_data). The packet will be None if there was not enough XML data to create a packet. remaining_data is the leftover data which was not enough to create a packet from. :raises EOFError if EOF was reached. )got_first_packetN)_extract_packet_from_data_parse_single_packetreadDEFAULT_BATCH_SIZEEOFError)selfstream existing_datarpacketnew_datas T/build/venv/lib/python3.11/site-packages/pyshark/tshark/output_parser/base_parser.pyget_packets_from_streamz.BaseTsharkOutputParser.get_packets_from_streams!% > >}P`!?!b!b  )..v66F=( (T%<========!  ** ]""ct)NNotImplementedError)r rs rrz+BaseTsharkOutputParser._parse_single_packets!###rct)zNReturns a packet's data and any remaining data after reading that first packetr)r datars rrz0BaseTsharkOutputParser._extract_packet_from_datas!###rN)T)__name__ __module__ __qualname__r rrrrrrrsQ ####*$$$$$$$$$rrN)rrrrrs7$$$$$$$$$$r