This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| import struct | |
| import binascii | |
| from collections import Counter | |
| def u16(b): | |
| return struct.unpack('<H', b)[0] | |
| def p16(x): | |
| return struct.pack('<H', x) | |
| def p32(x): |
OlderNewer