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
IOException
public void write1Bit(int value) throws IOException
IOException
public void writeNBit(long value, int n) throws IOException
IOException
public void writeRemainingZero() throws IOException
IOException
public void writeByte(int b) throws IOException
IOException
Copyright © 2017. All rights reserved.