acca/bytearray

Functions

to_int(self: ByteArray) -> Int

Convert a ByteArray from hexadecimal into the integer representation. This implementation uses BigEndian notation (also called network order), where data is represented sequentially starting from the most significant bit to the least significant.

abytearray.to_int(#"") == 0
abytearray.to_int(#"414243") == 4276803
Search Document