leBuff2int static method

BigInt leBuff2int(
  1. Uint8List buf
)

Implementation

static BigInt leBuff2int(Uint8List buf) {
  BigInt res = BigInt.zero;
  for (int i = 0; i < buf.length; i++) {
    final n = BigInt.from(buf[i]);
    res = res + (n << i * 8);
  }
  return res;
}