Package com.unascribed.ears.common.util
Class BitOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
com.unascribed.ears.common.util.BitOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidalign()voidclose()Close this Stream.voidflush()voidwrite(boolean value) voidwrite(byte[] value) voidwrite(int value) Deprecated.voidwrite(int bits, long value) voidwriteBit(int bit) voidwriteSAM(int bits, int value) voidwriteSAMUnit(int bits, float value) voidwriteUnit(int bits, float value) Methods inherited from class java.io.FilterOutputStream
writeMethods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
BitOutputStream
-
-
Method Details
-
writeBit
- Throws:
IOException
-
write
Deprecated.- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
writeSAM
- Throws:
IOException
-
writeSAMUnit
- Throws:
IOException
-
writeUnit
- Throws:
IOException
-
write
- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
align
- Throws:
IOException
-
close
Close this Stream. Also closes the underlying Stream.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classFilterOutputStream- Throws:
IOException
-