Sum of values treated as bytes.
static double sum(Iterable<Object?> values) { var total = 0.0; for (final value in values) { total += _toDouble(value); } return total; }