Functions

decodeU8a

▸ decodeU8a(u8a: Uint8Array, _types: Constructor[] | object): Codec[]

Defined in codec/utils/decodeU8a.ts:14

Given an u8a, and an array of Type constructors, decode the u8a against the types, and return an array of decoded values.

Parameters:

Name Type Description
u8a Uint8Array The u8a to decode.
_types Constructor[] | object

Returns: Codec[]


Last Updated: 2/25/2019, 4:39:16 PM