|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
ch.rgw.io.BitOutputStream
public class BitOutputStream
An OutputStream for bitwise writing
| Constructor Summary | |
|---|---|
BitOutputStream(java.io.OutputStream out)
|
|
| Method Summary | |
|---|---|
void |
close()
|
void |
flush()
Empty the buffer, flush the remaining bits with zeroes. |
void |
pushbits(int c,
int bitnum)
Writes up to 32 bit |
static java.lang.String |
Version()
|
void |
write(boolean bit)
write a single bit |
void |
write(int c)
writes a byte into the OutputStream, starting at the position of the last written bit (not at a byte boundary) |
| Methods inherited from class java.io.OutputStream |
|---|
write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BitOutputStream(java.io.OutputStream out)
| Method Detail |
|---|
public static final java.lang.String Version()
public void write(int c)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionOutputStream.write(int)
public void pushbits(int c,
int bitnum)
throws java.io.IOException
c - an integer containing the bits to be writtenbitnum - the number of bits (right aligned inside c) to write.
java.io.IOException
public void write(boolean bit)
throws java.io.IOException
bit - true for a 1-Bit, false for a 0-Bit
java.io.IOException
public void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOException
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.OutputStreamjava.io.IOException
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||