BufferSerializable extension

Big Int Extension

on

Properties

byteLength int
The minimum number of bytes required to store this big integer.
no setter

Methods

asSigned() BigInt
Returns the value as a signed big integer.
toUint64Buffer() Uint8List
Converts this BigInt into an 8-byte Uint8List.
toUint8List([int? length]) Uint8List
Converts this BigInt into a Uint8List of size length.

Static Methods

from(Object value) BigInt
Creates a BigInt from an existing BigInt or int value.
fromUint8List(Iterable<int> bytes, [Endian endian = Endian.little]) BigInt
Creates a BigInt from an array of bytes.