Skip to content

UintN

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / arc4 / UintN

Class: UintN<N>

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:128

A fixed bit size unsigned int

Extends

Extended by

Type Parameters

N extends BitSize

Constructors

new UintN()

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

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:136

Create a new UintN instance

Parameters

v?

CompatForArc4Int<N>

The native uint64 or biguint value to initialize this UintN from

Returns

UintN<N>

Overrides

ARC4Encoded.constructor

Accessors

bytes

Get Signature

get bytes(): bytes

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:97

Retrieve the encoded bytes for this type

Returns

bytes

Inherited from

ARC4Encoded.bytes


native

Get Signature

get native(): NativeForArc4Int<N>

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:143

Retrieve the decoded native uint64 or biguint

Returns

NativeForArc4Int<N>