code: public static byte[] getIncreasingByteArray(int start, int len) {
      byte[] ret = new byte[len];
      for (int k = 0; k < len; k++) {
        ret[k] = (byte) (k + start);
      }
      return ret;
    }
docs: Gets an increasing sequence of bytes starting with the given value.
  
  @param start the starting value to use
  @param len the target length of the sequence
  @return an increasing sequence of bytes