BigIntExtension extension

Big Int Extension

on

Properties

byteLength int

Available on BigInt, provided by the BigIntExtension extension

Returns the minimum number of bytes required to store this big integer.
no setter

Methods

asSigned() BigInt

Available on BigInt, provided by the BigIntExtension extension

Returns the value as a signed big integer.
toUint8List([int? length]) Uint8List

Available on BigInt, provided by the BigIntExtension extension

Converts the BigInt value to a Uint8List of size length.

Static Methods

fromUint8List(Iterable<int> bytes, [Endian endian = Endian.little]) BigInt

Available on BigInt, provided by the BigIntExtension extension

Creates a BigInt from an array of bytes.