org.apache.sanselan.common.mylzw
Class MyBitOutputStream
java.lang.Object
java.io.OutputStream
org.apache.sanselan.common.mylzw.MyBitOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, BinaryConstants
public class MyBitOutputStream
- extends java.io.OutputStream
- implements BinaryConstants
Methods inherited from class java.io.OutputStream |
close, flush, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyBitOutputStream
public MyBitOutputStream(java.io.OutputStream os,
int byteOrder)
write
public void write(int value)
throws java.io.IOException
- Specified by:
write
in class java.io.OutputStream
- Throws:
java.io.IOException
writeBits
public void writeBits(int value,
int SampleBits)
throws java.io.IOException
- Throws:
java.io.IOException
flushCache
public void flushCache()
throws java.io.IOException
- Throws:
java.io.IOException
getBytesWritten
public int getBytesWritten()
Copyright © 2007-2009. All Rights Reserved.