Skip to main content
Module

x/capi/deps/scale.ts>sizedArray

[WIP] A framework for crafting interactions with Substrate chains
Latest
function sizedArray
import { sizedArray } from "https://deno.land/x/capi@v0.1.1-beta.1/deps/scale.ts";

Type Parameters

L extends number
I
O

Parameters

$el: Codec<I, O>
length: L

Returns

Codec<Readonly<ArrayOfLength<I, L>>, ArrayOfLength<O, L>>