Represents a base integer.

Hierarchy (view full)

Constructors

Properties

isSigned: boolean

\c true if the value should be treated as signed.

size: number

Size of the integer.

value: number | bigint

Value.

SIZE: number

Methods

  • Returns Uint8Array

  • Returns representation of this object that can be stored in JSON.

    Returns string | number

    JSON-safe representation of this object.

  • Converts base value to string.

    Returns string

    String representation.