Common
Class BitInputStream

java.lang.Object
  extended by Common.BitInputStream

public class BitInputStream
extends java.lang.Object


Constructor Summary
BitInputStream(java.io.InputStream in)
           
 
Method Summary
 int available()
           
 void close()
           
 boolean readBit()
           
 int readByte()
          Read a Byte from the stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitInputStream

public BitInputStream(java.io.InputStream in)
Method Detail

readByte

public int readByte()
             throws java.io.IOException
Read a Byte from the stream

Returns:
Throws:
java.io.IOException

readBit

public boolean readBit()
                throws java.io.IOException
Throws:
java.io.IOException

available

public int available()
              throws java.io.IOException
Throws:
java.io.IOException

close

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