All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.nukkit.utils.PNXLibInflater Maven / Gradle / Ivy

There is a newer version: 1.20.40-r1
Show newest version
package cn.nukkit.utils;

import cn.nukkit.api.PowerNukkitXOnly;
import cn.nukkit.api.Since;
import cn.powernukkitx.libdeflate.LibdeflateDecompressor;

import java.io.Closeable;

@PowerNukkitXOnly
@Since("1.19.40-r3")
public final class PNXLibInflater extends LibdeflateDecompressor implements Closeable, AutoCloseable {
    public PNXLibInflater() {

    }

    @Override
    @SuppressWarnings("deprecation")
    protected void finalize() throws Throwable {
        if (!closed) {
            close();
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy