Pezkuwi API
    Preparing search index...

    Function decodeU8a

    • Internal

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

      Type Parameters

      • T extends Codec = Codec

      Parameters

      • registry: Registry
      • result: T[]

        The result array (will be returned with values pushed)

      • u8a: Uint8Array

        The u8a to decode.

      • types: [CodecClass<T, any[]>[], string[]]

        The array of CodecClass to decode the U8a against.

      Returns [T[], number]