Class MyBitInputStream
java.lang.Object
java.io.InputStream
org.apache.commons.imaging.common.mylzw.MyBitInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private int
private final ByteOrder
private long
private final InputStream
private boolean
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
is
-
byteOrder
-
tiffLZWMode
private boolean tiffLZWMode -
bytesRead
private long bytesRead -
bitsInCache
private int bitsInCache -
bitCache
private int bitCache
-
-
Constructor Details
-
MyBitInputStream
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
setTiffLZWMode
public void setTiffLZWMode() -
readBits
- Throws:
IOException
-
flushCache
public void flushCache() -
getBytesRead
public long getBytesRead()
-