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