public class BitstreamWriter extends Object
| Constructor and Description |
|---|
BitstreamWriter(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
void |
write1Bit(int value) |
void |
writeByte(int b) |
void |
writeNBit(long value,
int n) |
void |
writeRemainingZero() |
public BitstreamWriter(OutputStream out)
public void flush()
throws IOException
IOExceptionpublic void write1Bit(int value)
throws IOException
IOExceptionpublic void writeNBit(long value,
int n)
throws IOException
IOExceptionpublic void writeRemainingZero()
throws IOException
IOExceptionpublic void writeByte(int b)
throws IOException
IOExceptionCopyright © 2017. All rights reserved.