Skip to content
Snippets Groups Projects
Commit 067ecc91 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-192: Added comments

parent 6100adc9
No related branches found
No related tags found
1 merge request!45L2SS-192: Provide interface for raw header fields, add example packet (needs...
......@@ -176,8 +176,12 @@ if __name__ == "__main__":
import sys
import pprint
# read all of stdin, even though we only parse the first packet. we're too lazy to intelligently decide when
# the packet is complete and can stop reading.
data = sys.stdin.buffer.read()
packet = StatisticsPacket(data)
# print header & payload
pprint.pprint(packet.header())
pprint.pprint(packet.payload_sst)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment