Package mazealgo.model.io
Class MyDecompressorInputStream
java.lang.Object
java.io.InputStream
mazealgo.model.io.MyDecompressorInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
Decorator that reverses
MyCompressorOutputStream: reads
(count, value) pairs from the underlying stream and re-emits
count copies of value on each read.-
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
-
MyDecompressorInputStream
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-