public static ByteSlice fromAddress(long p, int size, boolean autoFree) {
        return ByteSlice.wrap(MemoryUtil.getByteBuffer(p, size, autoFree));
    }
Create ByteSlice from memory address and size.

@param autoFree true: After calling this method, this ByteSlice will take full control of this memory. e.g. You should not
                reclaim it, update it from outside. Otherwise errors will throw.
indexr-common/src/main/java/io/indexr/io/ByteSlice.java