|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sam.io.BitOutputStream
Bit-level output stream.
BitInputStream
Constructor Summary | |
protected |
BitOutputStream(java.io.OutputStream delegee)
|
Method Summary | |
void |
close()
|
void |
flush()
This does NOT write current buffer but simply forwards the flush call to the underlying stream. |
protected void |
storeAndflush()
To be called only on exit, because of possibly remaining bytes ! |
void |
write(boolean bit)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected BitOutputStream(java.io.OutputStream delegee)
Method Detail |
public void write(boolean bit) throws java.io.IOException
java.io.IOException
protected void storeAndflush() throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
flush
call to the underlying stream.
Flushing current buffer would lead to inconsistencies in case of subsequent writes, and is thus disabled.
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |