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, write
public MyBitOutputStream(OutputStream os, ByteOrder byteOrder)
public void write(int value) throws IOException
write
in class OutputStream
IOException
public void writeBits(int value, int sampleBits) throws IOException
IOException
public void flushCache() throws IOException
IOException
public int getBytesWritten()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.