public class ZstdOutputStream
extends java.io.FilterOutputStream
Constructor and Description |
---|
ZstdOutputStream(java.io.OutputStream outStream) |
ZstdOutputStream(java.io.OutputStream outStream,
int level) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush()
Flushes the output
Caveat: it will flush only the completed blocks
|
void |
write(byte[] src,
int offset,
int len) |
public ZstdOutputStream(java.io.OutputStream outStream, int level) throws java.io.IOException
java.io.IOException
public ZstdOutputStream(java.io.OutputStream outStream) throws java.io.IOException
java.io.IOException
public void write(byte[] src, int offset, int len) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.FilterOutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterOutputStream
java.io.IOException