Class ZstdOutputStreamNoFinalizer

java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
com.github.luben.zstd.ZstdOutputStreamNoFinalizer
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class ZstdOutputStreamNoFinalizer extends FilterOutputStream
OutputStream filter that compresses the data using Zstd compression.
  • Constructor Details

    • ZstdOutputStreamNoFinalizer

      public ZstdOutputStreamNoFinalizer(@NotNull @NotNull OutputStream outStream, int level) throws IOException
      create a new compressing OutputStream
      Parameters:
      outStream - the stream to wrap
      level - the compression level
      Throws:
      IOException
    • ZstdOutputStreamNoFinalizer

      public ZstdOutputStreamNoFinalizer(@NotNull @NotNull OutputStream outStream) throws IOException
      create a new compressing OutputStream
      Parameters:
      outStream - the stream to wrap
      Throws:
      IOException
    • ZstdOutputStreamNoFinalizer

      public ZstdOutputStreamNoFinalizer(@NotNull @NotNull OutputStream outStream, @NotNull @NotNull BufferPool bufferPool, int level) throws IOException
      create a new compressing OutputStream
      Parameters:
      outStream - the stream to wrap
      bufferPool - the pool to fetch and return buffers
      Throws:
      IOException
    • ZstdOutputStreamNoFinalizer

      public ZstdOutputStreamNoFinalizer(@NotNull @NotNull OutputStream outStream, @NotNull @NotNull BufferPool bufferPool) throws IOException
      create a new compressing OutputStream
      Parameters:
      outStream - the stream to wrap
      bufferPool - the pool to fetch and return buffers
      Throws:
      IOException
  • Method Details