Package com.sun.media.imageioimpl.common
Class BitFile
- java.lang.Object
-
- com.sun.media.imageioimpl.common.BitFile
-
public class BitFile extends Object
Came from GIFEncoder initially. Modified - to allow for output compressed data without the block counts which breakup the compressed data stream for GIF.
-
-
Constructor Summary
Constructors Constructor Description BitFile(ImageOutputStream output, boolean blocks)
-
-
-
Constructor Detail
-
BitFile
public BitFile(ImageOutputStream output, boolean blocks)
- Parameters:
output
- destination for output datablocks
- GIF LZW requires block counts for output data
-
-
Method Detail
-
flush
public void flush() throws IOException
- Throws:
IOException
-
writeBits
public void writeBits(int bits, int numbits) throws IOException
- Throws:
IOException
-
-