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

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

Package publishing for deno.land/x/polkadot
Go to Latest
class Raw
implements IU8a
extends Uint8Array
import { Raw } from "https://deno.land/x/polkadot@0.2.37/types/codec/index.ts";

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