Package ai.vespa.airlift.zstd
Class ZstdInputStream
java.lang.Object
java.io.InputStream
ai.vespa.airlift.zstd.ZstdInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
Take a compressed InputStream and decompress it as needed
- Author:
- arnej27959
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
ZstdInputStream
-
ZstdInputStream
-
-
Method Details
-
available
public int available()- Overrides:
availablein classInputStream
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-