Class ZstdCompressionDictionary

java.lang.Object
dev.hallock.zstd.ZstdCompressionDictionary
All Implemented Interfaces:
AutoCloseable

public final class ZstdCompressionDictionary extends Object implements AutoCloseable
  • Constructor Details

    • ZstdCompressionDictionary

      public ZstdCompressionDictionary(MemorySegment dict, int compressionLevel)
    • ZstdCompressionDictionary

      public ZstdCompressionDictionary(MemorySegment dict, long dictSize, int compressionLevel)
  • Method Details

    • compressionLevel

      public int compressionLevel()
    • size

      public long size()
    • sizeOf

      public long sizeOf()
    • dictID

      public int dictID()
    • close

      public void close() throws ZstdException
      Specified by:
      close in interface AutoCloseable
      Throws:
      ZstdException