@Override
      void putInt(ByteBuffer buffer, int val) {
        buffer.putInt(val);
      }
Utility functions for working with byte buffers, such as reading/writing variable-length long
numbers.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java