Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/types/codec/index.ts>VecFixed

Package publishing for deno.land/x/polkadot
Go to Latest
class VecFixed
extends AbstractArray<T>
import { VecFixed } from "https://deno.land/x/polkadot@0.2.17/types/codec/index.ts";

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