Skip to main content

Function: uint8ArrayToValue()

uint8ArrayToValue<T>(bytes): T

Decodes a Uint8Array.

Type Parameters

T

Parameters

bytes: Uint8Array

Byte array to decode

Returns

T

The decoded value or undefined on error

Defined in

Odin/odin-typescript/lib/utils/json.d.ts:22