toBigInt method

BigInt toBigInt({
  1. Endian endian = Endian.big,
})

Converts this bytes to a BigInt (through toHex).

Implementation

BigInt toBigInt({Endian endian = Endian.big}) =>
    toHex(endian: endian).toBigIntFromHex();