You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
176 B
9 lines
176 B
print((2**64).to_bytes(9, "little"))
|
|
|
|
b = bytes(range(20))
|
|
|
|
il = int.from_bytes(b, "little")
|
|
ib = int.from_bytes(b, "big")
|
|
print(il)
|
|
print(ib)
|
|
print(il.to_bytes(20, "little"))
|
|
|