public class BitOutputStream
extends java.io.OutputStream
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(int b) |
void |
writeByte(int b) |
void |
writeOffBit() |
void |
writeOnBit() |
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOExceptionpublic void writeOnBit()
throws java.io.IOException
java.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic void writeOffBit()
throws java.io.IOException
java.io.IOExceptionpublic void writeByte(int b)
throws java.io.IOException
b - java.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException