- decode(value: Uint8Array, opts?: NNI.Options & { big?: false }): number
Parameters
- value: Uint8Array
Optional
opts: NNI.Options & { big?: false }
Returns number
- decode(value: Uint8Array, opts: NNI.Options & { big: true }): bigint
Parameters
- value: Uint8Array
- opts: NNI.Options & { big: true }
Returns bigint
Decode non-negative integer as number.