Package org.eclipse.mat.parser.io
Class BitOutputStream
- java.lang.Object
-
- org.eclipse.mat.parser.io.BitOutputStream
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_BUFFER_SIZE
-
Constructor Summary
Constructors Constructor Description BitOutputStream(OutputStream os)
-
-
-
Field Detail
-
DEFAULT_BUFFER_SIZE
public static final int DEFAULT_BUFFER_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BitOutputStream
public BitOutputStream(OutputStream os)
-
-
Method Detail
-
flush
public void flush() throws IOException
- Specified by:
flush
in interfaceFlushable
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
writeBit
public int writeBit(int bit) throws IOException
- Throws:
IOException
-
writeInt
public int writeInt(int x, int len) throws IOException
- Throws:
IOException
-
-