Module

x/polkadot/types-codec/index.ts>AbstractInt

Package publishing for deno.land/x/polkadot
Go to Latest
class AbstractInt
implements INumber
extends BN
Abstract
import { AbstractInt } from "https://dotland.deno.dev/x/polkadot@0.2.38/types-codec/index.ts";

Constructors

new
AbstractInt(
registry: Registry,
value?: AnyNumber | null,
bitLength?: UIntBitLength,
isSigned?,
)

Properties

optional
createdAtHash: IU8a
readonly
encodedLength: number
readonly
hash: IU8a
optional
initialU8aLength: number
readonly
isEmpty: boolean
optional
isStorageFallback: boolean
readonly
isUnsigned: boolean
readonly
registry: Registry

Methods

bitLength(): number
eq(other?: unknown): boolean
inspect(): Inspect
isMax(): boolean
toBigInt(): bigint
toBn(): BN
toHex(isLe?): HexString
toHuman(_isExpanded?: boolean): string
toJSON(onlyHex?): any
toPrimitive(): number | string
toRawType(): string
toString(base?: number): string
toU8a(_isBare?: boolean): Uint8Array