public class MyBitOutputStream extends OutputStream
| Constructor and Description |
|---|
MyBitOutputStream(OutputStream os,
ByteOrder byteOrder) |
| Modifier and Type | Method and Description |
|---|---|
void |
flushCache() |
int |
getBytesWritten() |
void |
write(int value) |
void |
writeBits(int value,
int sampleBits) |
close, flush, write, writepublic MyBitOutputStream(OutputStream os, ByteOrder byteOrder)
public void write(int value)
throws IOException
write in class OutputStreamIOExceptionpublic void writeBits(int value,
int sampleBits)
throws IOException
IOExceptionpublic void flushCache()
throws IOException
IOExceptionpublic int getBytesWritten()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.