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.12/types/codec/index.ts";

Constructors

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

Properties

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