Package com.semedy.reasoner.utils
Class LZ4InputStream
java.lang.Object
java.io.InputStream
com.semedy.reasoner.utils.LZ4InputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
Input stream for LZ4 compression.
Input is buffered.
Input is buffered.
- Author:
- angele
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
LZ4InputStream
-
-
Method Details
-
read
Read a byte from buffer.
If buffer is empty refill it from unterlying input stream.- Specified by:
read
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-