public static boolean allocatorAvailable() {
        return PlatformDependent.hasDirectBufferNoCleanerConstructor();
    }
@param ptr Pointer to wrap.
@param len Memory location length.
@return Byte buffer wrapping the given memory.
s3stream/src/main/java/com/automq/stream/thirdparty/moe/cnkirito/kdio/DirectIOUtils.java