u8aToBn function

BigInt u8aToBn(
  1. Uint8List u8a, {
  2. Endian endian = Endian.little,
  3. bool isNegative = false,
})

Implementation

BigInt u8aToBn(Uint8List u8a,
    {Endian endian = Endian.little, bool isNegative = false}) {
  return hexToBn(u8aToHex(u8a), endian: endian, isNegative: isNegative);
  // return decodeBigInt(u8a, endian: endian);
}