Lines Matching refs:offset
100 offset = 0
101 while offset < len(decompressed):
102 length, delta_time_ms, type = struct.unpack_from('=HIb', decompressed, offset)
103 offset += 7 + length - 1
107 offset = 0
108 while offset < len(decompressed):
109 length, delta_time_ms, type = struct.unpack_from('=HIb', decompressed, offset)
111 offset += 7
116 sys.stdout.buffer.write(decompressed[offset:offset + length - 1])
117 offset += length - 1
127 offset = 0
128 while offset < len(decompressed):
129 …ength, packet_length, delta_time_ms, snooz_type = struct.unpack_from('=HHIb', decompressed, offset)
130 offset += 9 + length - 1
134 offset = 0
135 while offset < len(decompressed):
136 …ength, packet_length, delta_time_ms, snooz_type = struct.unpack_from('=HHIb', decompressed, offset)
138 offset += 9
143 sys.stdout.buffer.write(decompressed[offset:offset + length - 1])
144 offset += length - 1