scIsNonZero static method

int scIsNonZero(
  1. List<int> s
)

Implementation

static int scIsNonZero(List<int> s) {
  s.asMin32("scIsNonZero");
  for (int i = 0; i < 32; i++) {
    final byte = s[i];
    if (byte != 0) {
      return 1;
    }
  }
  return 0;
}