Sum of values treated as bytes, returned as BigInt.
static BigInt sum(Iterable<Object?> values) { var total = BigInt.zero; for (final value in values) { total += _toBigInt(value); } return total; }