public class BitOutputStream extends FilterOutputStream
out
Constructor and Description |
---|
BitOutputStream(OutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
byteAlign() |
void |
close() |
void |
flush() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
void |
writeBit(boolean b) |
void |
writeBit(int b) |
public BitOutputStream(OutputStream out)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class FilterOutputStream
IOException
public void write(byte[] b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class FilterOutputStream
IOException
public void write(int b) throws IOException
write
in class FilterOutputStream
IOException
public void byteAlign() throws IOException
IOException
public final void writeBit(boolean b) throws IOException
IOException
public void writeBit(int b) throws IOException
IOException
see also the complete user documentation .