bigInt method

BigInt bigInt({
  1. Endian endian = Endian.little,
})

The message digest as a BigInt.

If endian is Endian.little, it will treat the digest bytes as a little endian number; Otherwise, if endian is Endian.big, it will treat the digest bytes as a big endian number.

Implementation

BigInt bigInt({Endian endian = Endian.little}) =>
    toBigInt(bytes, msbFirst: endian == Endian.big);