You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it would help instead to expose a stream parser StreamParser,
which would operate on top of another stream/io provider,
such as GzipFile de-compresion stream
proposed usage pattern, which allows to scan *.pcap.gz compressed file:
from gzip import GzipFile
from IEXTools import StreamParser
file_path = "2019-11-07.tops.pcap.gz"
with GzipFile(file_path, 'rb') as file_io:
with StreamParser(file_io) as message_io:
print(next(message_io))
The text was updated successfully, but these errors were encountered:
current code is bound to using
*.pcap
filehttps://github.com/vfrazao-ns1/IEXTools/blob/master/IEXTools/IEXparser.py#L52
it would help instead to expose a stream parser
StreamParser
,which would operate on top of another stream/io provider,
such as GzipFile de-compresion stream
proposed usage pattern, which allows to scan
*.pcap.gz
compressed file:The text was updated successfully, but these errors were encountered: