public static long getByteBufferAddr(ByteBuffer buffer) {
        return MemoryUtil.getAddress(buffer);
    }
We put some memory utils here.
indexr-vlt-segment/src/main/java/io/indexr/vlt/codec/UnsafeUtil.java