public static long directBufferAddress(ByteBuffer buf) {
    return PlatformDependent.directBufferAddress(buf);
  }
Put a byte value out to the specified BB position in big-endian format.
@param buf    the byte buffer
@param offset position in the buffer
@param b      byte to write out
@return incremented offset
hbase-common/src/main/java/org/apache/hadoop/hbase/util/UnsafeAccess.java