Package org.eclipse.mat.parser.io
Class BitInputStream
- java.lang.Object
-
- org.eclipse.mat.parser.io.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
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_BUFFER_SIZE
-
Constructor Summary
Constructors Constructor Description BitInputStream(java.io.InputStream is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()intreadBit()intreadInt(int len)
-
-
-
Field Detail
-
DEFAULT_BUFFER_SIZE
public static final int DEFAULT_BUFFER_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
flush
public void flush()
- Specified by:
flushin interfacejava.io.Flushable
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.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
-
-