code: static public int skipToChars(byte[] data, int start, byte[] targets) {
          int index = start;
          int y = 0;
          byte current;
          for (; index < data.length; index++) {
              current = data[index];
              for (y = 0; y < targets.length; y++) {
                  if (current == targets[y]) {
                      return index;
                  }
              }
          }
          return index;
      }
docs: Utility method to skip past data in an array until it runs out of space
  or finds one of the the target characters.
  
  @param data
  @param start
  @param targets
  @return int (return index, equals data.length if not found)