Skip to content

btoi

Algorand TypeScript


Algorand TypeScript / op / btoi

btoi(a): uint64

Defined in: op.ts:716

converts big-endian byte array A to uint64. Fails if len(A) > 8. Padded by leading 0s if len(A) < 8. btoi fails if the input is longer than 8 bytes.

bytes

uint64

Native TEAL opcode: btoi Min AVM version: 1