public static void putInt(ByteBuffer buffer, int val) {
    ConverterHolder.BEST_CONVERTER.putInt(buffer, val);
  }
Put an int value out to the given ByteBuffer's current position in big-endian format. This also
advances the position in buffer by int size.
@param buffer the ByteBuffer to write to
@param val    int to write out
hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java