Common
Class BitOutputStream

java.lang.Object
  extended by Common.BitOutputStream

public class BitOutputStream
extends java.lang.Object


Constructor Summary
BitOutputStream(java.io.OutputStream out)
           
 
Method Summary
 void close()
           
 void writeBit(int bit)
           
 void writeByte(byte b)
           
 void writeRevBit(int bit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitOutputStream

public BitOutputStream(java.io.OutputStream out)
Method Detail

writeByte

public void writeByte(byte b)
               throws java.io.IOException
Throws:
java.io.IOException

writeBit

public void writeBit(int bit)
              throws java.io.IOException
Throws:
java.io.IOException

writeRevBit

public void writeRevBit(int bit)
                 throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException