Home » pdfbox-1.1.0-src » org.apache.pdfbox.io » [javadoc | source]
org.apache.pdfbox.io
public class: NBitOutputStream [javadoc | source]
java.lang.Object
   org.apache.pdfbox.io.NBitOutputStream
This is an n-bit output stream. This means that you write data in n-bit chunks.
Constructor:
 public NBitOutputStream(OutputStream os) 
    Constructor.
    Parameters:
    os - The output stream to write to.
Method from org.apache.pdfbox.io.NBitOutputStream Summary:
close,   getBitsInChunk,   setBitsInChunk,   write
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.io.NBitOutputStream Detail:
 public  void close() throws IOException 
    This will close the stream.
 public int getBitsInChunk() 
    Getter for property bitsToRead.
 public  void setBitsInChunk(int bitsInChunkValue) 
    Setter for property bitsToRead.
 public  void write(long chunk) throws IOException 
    This will write the next n-bits to the stream.