Skip to content

Uint

Algorand TypeScript


Algorand TypeScript / arc4 / Uint

Defined in: arc4/encoded-types.ts:133

A fixed bit size unsigned int

N extends BitSize

new Uint<N>(v?): Uint<N>

Defined in: arc4/encoded-types.ts:141

Create a new UintN instance

CompatForArc4Int<N>

The native uint64 or biguint value to initialize this UintN from

Uint<N>

ARC4Encoded.constructor

get bytes(): bytes

Defined in: arc4/encoded-types.ts:102

Retrieve the encoded bytes for this type

bytes

ARC4Encoded.bytes

asBigUint(): biguint

Defined in: arc4/encoded-types.ts:155

Retrieve the decoded native biguint

biguint


asUint64(): uint64

Defined in: arc4/encoded-types.ts:148

Retrieve the decoded native uint64

uint64