Lines Matching refs:decompressed
83 decompressed = zlib.decompress(snooz[9:])
88 decode_snooz_v1(decompressed, last_timestamp_ms)
90 decode_snooz_v2(decompressed, last_timestamp_ms)
93 def decode_snooz_v1(decompressed, last_timestamp_ms): argument
101 while offset < len(decompressed):
102 length, delta_time_ms, type = struct.unpack_from('=HIb', decompressed, offset)
108 while offset < len(decompressed):
109 length, delta_time_ms, type = struct.unpack_from('=HIb', decompressed, offset)
116 sys.stdout.buffer.write(decompressed[offset:offset + length - 1])
120 def decode_snooz_v2(decompressed, last_timestamp_ms): argument
128 while offset < len(decompressed):
129 …length, packet_length, delta_time_ms, snooz_type = struct.unpack_from('=HHIb', decompressed, offse…
135 while offset < len(decompressed):
136 …length, packet_length, delta_time_ms, snooz_type = struct.unpack_from('=HHIb', decompressed, offse…
143 sys.stdout.buffer.write(decompressed[offset:offset + length - 1])