struct

BigInt

Inherits Comparable < Comparable < Comparable < Comparable < Int < Comparable < Comparable < Comparable < Number < Comparable < Steppable < Comparable < Value < Object

A BigInt can represent arbitrarily large integers.

It is implemented under the hood with GMP.

NOTE: To use BigInt, you must explicitly import it with require "big"

Constructors

new(bytes : Bytes)

Initialize from a Byte array.

Source

Instance methods

bytes

Fetch a copy of the underlying byte representation.

Source