com.itextpdf.text.pdf.codec
Class BitFile
java.lang.Object
com.itextpdf.text.pdf.codec.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.
- Since:
- 5.0.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BitFile
public BitFile(OutputStream output,
boolean blocks)
- Parameters:
output
- destination for output datablocks
- GIF LZW requires block counts for output data
flush
public void flush()
throws IOException
- Throws:
IOException
writeBits
public void writeBits(int bits,
int numbits)
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.