bytesToBigInt static method

BigInt bytesToBigInt(
  1. Uint8List bytes, {
  2. Endianness endianness = Endianness.Big,
})

Implementation

static BigInt bytesToBigInt(Uint8List bytes,
    {Endianness endianness = Endianness.Big}) {
  var stream = ByteStream(bytes);
  return stream.readBigInt(stream.length, endianness: endianness);
}