|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.dev.util.BitStream.Out
public static class BitStream.Out
A bit output stream.
| Constructor Summary | |
|---|---|
BitStream.Out(java.io.OutputStream out)
|
|
| Method Summary | |
|---|---|
void |
close()
Flush and close the stream. |
void |
flush()
Flush the stream. |
static int |
getGolombSize(int divisor,
int value)
Get the size of the Golomb code for this value. |
void |
writeBit(int bit)
Write a bit. |
void |
writeGolomb(int divisor,
int value)
Write the Golomb code of a value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BitStream.Out(java.io.OutputStream out)
| Method Detail |
|---|
public void writeGolomb(int divisor,
int value)
divisor - the divisorvalue - the value
public static int getGolombSize(int divisor,
int value)
divisor - the divisorvalue - the value
public void writeBit(int bit)
bit - the bit (0 or 1)public void flush()
public void close()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||