Class MyBitInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.commons.imaging.mylzw.MyBitInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate final ByteOrderprivate longprivate final booleanFields inherited from class FilterInputStream
in -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class FilterInputStream
available, close, mark, markSupported, read, read, reset, skip
-
Field Details
-
byteOrder
-
tiffLZWMode
private final boolean tiffLZWMode -
bytesRead
private long bytesRead -
bitsInCache
private int bitsInCache -
bitCache
private int bitCache
-
-
Constructor Details
-
MyBitInputStream
-
-
Method Details
-
flushCache
public void flushCache() -
getBytesRead
public long getBytesRead() -
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
readBits
- Throws:
IOException
-