Class ZstdCompressInputStream
java.lang.Object
java.io.InputStream
io.clonecloudstore.common.standard.inputstream.AbstractCommonInputStream
io.clonecloudstore.common.standard.inputstream.ZstdCompressInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
Zstd InputStream: takes an InputStream as entry and give back a compressed InputStream
-
Field Summary
Fields inherited from class io.clonecloudstore.common.standard.inputstream.AbstractCommonInputStream
done, inputStream, ioExceptionAtomicReference, outputStream, pipedInputStream, pipedOutputStream, sizeOutput, sizeRead
-
Constructor Summary
ConstructorsConstructorDescriptionZstdCompressInputStream
(InputStream inputStream) Default constructor with flush by packetZstdCompressInputStream
(InputStream inputStream, int level) -
Method Summary
Modifier and TypeMethodDescriptionprotected OutputStream
getNewOutputStream
(Object level) long
long
Methods inherited from class io.clonecloudstore.common.standard.inputstream.AbstractCommonInputStream
available, checkException, close, markSupported, read, read, read, skip, toString, transferTo
Methods inherited from class java.io.InputStream
mark, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skipNBytes
-
Constructor Details
-
ZstdCompressInputStream
Default constructor with flush by packet- Throws:
IOException
-
ZstdCompressInputStream
- Throws:
IOException
-
-
Method Details
-
getNewOutputStream
- Specified by:
getNewOutputStream
in classAbstractCommonInputStream
- Throws:
IOException
-
getSizeRead
public long getSizeRead() -
getSizeCompressed
public long getSizeCompressed()
-