Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cadena_bytes = b'\x00\x124V\x00x\x90\xab\x00\xcd\xef\x01\x00#\x004'
- print(len(cadena_bytes))
- print(int.from_bytes(cadena_bytes, 'little'))
- print(int.from_bytes(cadena_bytes, 'big'))
- print('')
- numero = 94522842520747284487117727783387188
- print(numero.to_bytes(16, 'big'))
- print(numero.to_bytes(16, 'little'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement