Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ipdb> from binarize.primitive import *
- ipdb> [a for a in pack_bytes(b'\x06google\x03com\x00')]
- [b'\x0c', b'\x06google\x03com\x00']
- ipdb> len(b'\x06google\x03com\x00')
- 12
- ipdb> hex(12)
- '0xc'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement