Class PNXLibDeflater

java.lang.Object
cn.powernukkitx.libdeflate.LibdeflateCompressor
cn.nukkit.utils.PNXLibDeflater
All Implemented Interfaces:
Closeable, AutoCloseable

@PowerNukkitXOnly @Since("1.19.40-r3") public final class PNXLibDeflater extends cn.powernukkitx.libdeflate.LibdeflateCompressor implements Closeable, AutoCloseable
  • Field Summary

    Fields inherited from class cn.powernukkitx.libdeflate.LibdeflateCompressor

    closed, ctx
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    PNXLibDeflater(int level)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    Methods inherited from class cn.powernukkitx.libdeflate.LibdeflateCompressor

    allocate, close, compress, compress, compress, free, getCompressBound, getGenericCompressionBound

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.io.Closeable

    close
  • Constructor Details

    • PNXLibDeflater

      public PNXLibDeflater()
    • PNXLibDeflater

      public PNXLibDeflater(int level)
  • Method Details