Class BMPOutStream

java.lang.Object
  |
  +--BMPOutStream

public class BMPOutStream
extends java.lang.Object

Used by the codec to write BMP data.

See Also:
BMPEncoder, BMPDecoder

Constructor Summary
BMPOutStream(java.io.OutputStream os)
          Creates a new BMPOutStream.
 
Method Summary
 int byteCount()
          Returns the number of bytes sent since the last reset.
 void resetCounter()
          Called to reset the byte counter.
 void sendData(int bloks, int data)
          Writes 1-4 bytes to stream in intel order (lsb first).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BMPOutStream

public BMPOutStream(java.io.OutputStream os)
Creates a new BMPOutStream.
Method Detail

resetCounter

public void resetCounter()
Called to reset the byte counter.

byteCount

public int byteCount()
Returns the number of bytes sent since the last reset.

sendData

public void sendData(int bloks,
                     int data)
              throws java.io.IOException
Writes 1-4 bytes to stream in intel order (lsb first).