IntListToBigIntExtension extension
Extension to add our asBigInt
handling to List
Methods
-
asBigInt({Endian endian = Endian.big, bool signed = false})
→ BigInt
-
Convert a list of bytes to a BigInt. Endianness can be changed by passing
endian
.
If you want to treat the list as if it weree signed, then set signed
to true.