Skip to main content
Module

x/polkadot/mod.ts>typesCodec.VecFixed

Package publishing for deno.land/x/polkadot
Go to Latest
class typesCodec.VecFixed
extends AbstractArray<T>
import { typesCodec } from "https://deno.land/x/polkadot@0.2.12/mod.ts";
const { VecFixed } = typesCodec;

Constructors

new
VecFixed(
registry: Registry,
Type: CodecClass<T> | string,
length: number,
value?: Uint8Array | HexString | unknown[],
unnamed 4?: Options<T>,
)

Type Parameters

T extends Codec

Properties

readonly
encodedLength: number
readonly
optional
initialU8aLength: number
readonly
Type: string

Methods

inspect(): Inspect
toRawType(): string
toU8a(): Uint8Array

Static Methods

with<O extends Codec>(Type: CodecClass<O> | string, length: number): CodecClass<VecFixed<O>>