cryptix.tools
Class Scar.ScarOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by cryptix.tools.Scar.ScarOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable
Enclosing class:
Scar

final class Scar.ScarOutputStream
extends java.io.FilterOutputStream


Field Summary
(package private)  PRZ24 crc
           
(package private)  byte[] inBuf
           
(package private)  int inOff
           
(package private)  int lineLength
           
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
Scar.ScarOutputStream(java.io.OutputStream os)
           
 
Method Summary
 void close()
           
 void write(byte[] b, int offset, int length)
           
 void write(int b)
           
 
Methods inherited from class java.io.FilterOutputStream
flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

crc

PRZ24 crc

inBuf

byte[] inBuf

inOff

int inOff

lineLength

int lineLength
Constructor Detail

Scar.ScarOutputStream

public Scar.ScarOutputStream(java.io.OutputStream os)
                      throws java.io.IOException
Throws:
java.io.IOException
Method Detail

write

public void write(int b)
           throws java.io.IOException
Overrides:
write in class java.io.FilterOutputStream
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int offset,
                  int length)
           throws java.io.IOException
Overrides:
write in class java.io.FilterOutputStream
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.FilterOutputStream
Throws:
java.io.IOException