Class BitsToByteInputStream
java.lang.Object
java.io.InputStream
org.apache.commons.imaging.common.mylzw.BitsToByteInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
read()
int
readBits
(int bitCount) int[]
readBitsArray
(int sampleBits, int length) Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
-
Field Details
-
is
-
desiredDepth
private final int desiredDepth
-
-
Constructor Details
-
BitsToByteInputStream
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
readBits
- Throws:
IOException
-
readBitsArray
- Throws:
IOException
-