Skip to main content
Module

x/polkadot/mod.ts>typesCodec.Raw

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

Constructors

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

Properties

optional
createdAtHash: IU8a
readonly
encodedLength: number
readonly
hash: IU8a
optional
initialU8aLength: number
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