Skip to main content
Module

x/polkadot/mod.ts>typesCodec.AbstractArray

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

Constructors

new
protected
AbstractArray(registry: Registry, length: number)

Type Parameters

T extends Codec

Properties

optional
createdAtHash: IU8a
readonly
encodedLength: number
readonly
hash: IU8a
optional
initialU8aLength: number
readonly
isEmpty: boolean
optional
isStorageFallback: boolean
readonly
length: number
readonly
registry: Registry

Methods

eq(other?: unknown): boolean
inspect(): Inspect
inspectInner(): Inspect[]
toArray(): T[]
toHex(): HexString
toHuman(isExtended?: boolean): AnyJson
toJSON(): AnyJson
toPrimitive(): AnyJson
abstract
toRawType(): string
toString(): string
toU8a(isBare?: boolean): Uint8Array
toU8aInner(isBare?: boolean): Uint8Array[]

Static Properties

readonly
[Symbol.species]: Array