Class ZstdDecompressInputStream
java.lang.Object
java.io.InputStream
io.clonecloudstore.common.standard.inputstream.ZstdDecompressInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
Zstd InputStream: takes an InputStream as entry and give back a uncompressed InputStream
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidclose()longbooleanintread()intread(byte[] b) intread(byte[] b, int off, int len) longskip(long n) toString()longtransferTo(OutputStream out) Methods inherited from class java.io.InputStream
mark, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skipNBytes
-
Constructor Details
-
ZstdDecompressInputStream
- Throws:
IOException
-
-
Method Details
-
getSizeDecompressed
public long getSizeDecompressed() -
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classInputStream
-
transferTo
- Overrides:
transferToin classInputStream- Throws:
IOException
-
toString
-