Skip to main content
Module

x/polkadot/mod.ts>types.VecFixed

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

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>>