Skip to main content
Module

x/polkadot/mod.ts>types.Raw

Package publishing for deno.land/x/polkadot
Go to Latest
class types.Raw
implements IU8a
extends Uint8Array
Re-export
import { types } from "https://deno.land/x/polkadot@0.2.40/mod.ts";
const { Raw } = types;

Constructors

new
Raw(
registry: Registry,
value?: AnyU8a,
initialU8aLength?: number,
)

Properties

optional
createdAtHash: IU8a | undefined
readonly
encodedLength: number
readonly
hash: IU8a
optional
initialU8aLength: number | undefined
readonly
isAscii: boolean
readonly
isEmpty: boolean
optional
isStorageFallback: boolean
readonly
isUtf8: boolean
readonly
registry: Registry

Methods

bitLength(): number
eq(other?: unknown): boolean
inspect(): Inspect
toHex(): HexString
toHuman(): AnyJson
toJSON(): string
toPrimitive(): AnyJson
toRawType(): string
toString(): string
toU8a(_isBare?: boolean): Uint8Array
toUtf8(): string

Static Properties

readonly
[Symbol.species]: Uint8Array