code: static public int skipToChar(byte[] data, int start, byte target) {
          int index = start;
          while (index < data.length && target != data[index]) {
              index++;
          }
          return index;
      }
docs: Utility method to skip past data in an array until it runs out of space
  or finds the target character.
  
  @param data
  @param start
  @param target
  @return int (return index, equals data.length if not found)