Class BitFile
java.lang.Object
com.github.jaiimageio.impl.common.BitFile
Came from GIFEncoder initially.
Modified - to allow for output compressed data without the block counts
which breakup the compressed data stream for GIF.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
output_
ImageOutputStream output_ -
buffer_
byte[] buffer_ -
index_
int index_ -
bitsLeft_
int bitsLeft_ -
blocks_
boolean blocks_note this also indicates gif format BITFile.
-
-
Constructor Details
-
BitFile
- Parameters:
output
- destination for output datablocks
- GIF LZW requires block counts for output data
-
-
Method Details
-
flush
- Throws:
IOException
-
writeBits
- Throws:
IOException
-