Lines Matching refs:unpack
13 from struct import pack, unpack, calcsize
54 len1 = unpack('B', data[:1])[0]
58 len2 = unpack('B',data[:pad])[0]
63 len2 = unpack('!H', data[:pad])[0]
68 len2, len3 = unpack('!BH', data[:pad])
73 len2 = unpack('!L', data[:pad])[0]
114 next_byte = unpack('B',data[:1])[0]
120 next_byte = unpack('B',decode_data[:1])[0]
186 next_byte = unpack('B', payload[:1])[0]
191 next_byte = unpack('B', decode_data[:1])[0]
196 next_byte = unpack('B',decode_data[:1])[0]
205 next_byte = unpack('B', decode_data2[:1])[0]
217 next_byte = unpack('B', decode_data[:1])[0]
224 next_byte = unpack('B', decode_data2[:1])[0]
233 next_byte = unpack('B', decode_data[:1])[0]
239 next_byte = unpack('B', decode_data[:1])[0]
299 next_byte = unpack('B', payload[:1])[0]
305 next_byte = unpack('B', decode_data[:1])[0]
310 next_byte = unpack('B',decode_data[:1])[0]
316 next_byte = unpack('B', decode_data[:1])[0]
324 next_byte = unpack('B', decode_data[:1])[0]
336 next_byte = unpack('B', decode_data[:1])[0]
341 next_byte = unpack('B', decode_data[:1])[0]