UintN
@algorandfoundation/algorand-typescript
@algorandfoundation/algorand-typescript / arc4 / UintN
Class: UintN<N>
Section titled “Class: UintN<N>”Defined in: packages/algo-ts/src/arc4/encoded-types.ts:128
A fixed bit size unsigned int
Extends
Section titled “Extends”Extended by
Section titled “Extended by”Type Parameters
Section titled “Type Parameters”• N extends BitSize
Constructors
Section titled “Constructors”new UintN()
Section titled “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
Section titled “Parameters”The native uint64 or biguint value to initialize this UintN from
Returns
Section titled “Returns”UintN<N>
Overrides
Section titled “Overrides”Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get bytes():
bytes
Defined in: packages/algo-ts/src/arc4/encoded-types.ts:97
Retrieve the encoded bytes for this type
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”native
Section titled “native”Get Signature
Section titled “Get Signature”get native():
NativeForArc4Int<N>
Defined in: packages/algo-ts/src/arc4/encoded-types.ts:143
Retrieve the decoded native uint64 or biguint