Class BitInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable

    public class BitInputStream
    extends java.lang.Object
    implements java.io.Flushable, java.io.Closeable
    • Constructor Summary

      Constructors 
      Constructor Description
      BitInputStream​(java.io.InputStream is)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void flush()  
      int readBit()  
      int readInt​(int len)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BitInputStream

        public BitInputStream​(java.io.InputStream is)
    • Method Detail

      • flush

        public void flush()
        Specified by:
        flush in interface java.io.Flushable
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • readBit

        public int readBit()
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • readInt

        public int readInt​(int len)
                    throws java.io.IOException
        Throws:
        java.io.IOException