Skip to content

Byte

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / arc4 / Byte

Class: Byte

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

An alias for UintN<8>

Extends

Constructors

new Byte()

new Byte(v?): Byte

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

Create a new UintN instance

Parameters

v?

Uint64Compat

The native uint64 or biguint value to initialize this UintN from

Returns

Byte

Inherited from

UintN.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

UintN.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>

Inherited from

UintN.native