sliceBytes static method

BigInt sliceBytes(
  1. Uint8List b,
  2. int from,
  3. int to
)

Slice bytes and convert to BigInt

Implementation

static BigInt sliceBytes(Uint8List b, int from, int to) {
  return bytesToBigInt(b.sublist(from, to));
}