public static List<byte[]> getUtf8ByteArrays(List<String> strings) {
    if (CollectionUtils.isEmpty(strings)) {
      return Collections.emptyList();
    }
    List<byte[]> byteArrays = new ArrayList<>(strings.size());
    strings.forEach(s -> byteArrays.add(Bytes.toBytes(s)));
    return byteArrays;
  }
Treat the byte[] as an unsigned series of bytes, most significant bits first. Start by adding 1
to the rightmost bit/byte and carry over all overflows to the more significant bits/bytes.
@param input The byte[] to increment.
@return The incremented copy of "in". May be same length or 1 byte longer.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java