A lossless representation of a signed, 64-bit integer. Instances of this class may be used in arithmetic expressions as if they were numeric primitives, but the binary representation will be preserved unchanged as the bytes property of the object. The bytes should be encoded as big-endian, two's complement integers.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

  • Parameters

    • bytes: Uint8Array

    Returns Int64

Properties

bytes: Uint8Array

Methods

  • Returns string

  • Called implicitly by infix arithmetic operators.

    Returns number

  • Parameters

    • number: number

    Returns Int64