Module

x/polkadot/types-codec/mod.ts>Text

Package publishing for deno.land/x/polkadot
Go to Latest
class Text
implements IText
extends String
import { Text } from "https://dotland.deno.dev/x/polkadot@0.2.38/types-codec/mod.ts";

Constructors

new
Text(registry: Registry, value?:
| null
| AnyString
| AnyU8a
| { toString: () => string; }
)

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
setOverride(override: string): void
toHex(): HexString
toHuman(): string
toJSON(): string
toPrimitive(): string
toRawType(): string
toString(): string
toU8a(isBare?: boolean): Uint8Array