cryptix.tools

Class Scar.ScarInputStream

Enclosing Class:
Scar

(package private) final class Scar.ScarInputStream
extends FilterInputStream

Field Summary

(package private) PRZ24
crc
(package private) boolean
finished
(package private) byte[]
inBuf
(package private) int
inOff
(package private) byte[]
lineBuffer
(package private) byte[]
outBuf
(package private) int
outBufMax
(package private) int
outOff

Constructor Summary

ScarInputStream(InputStream is)

Method Summary

void
close()
Override close in Base64InputStream to allow detection of scar footer line.
int
read()
int
read(byte[] buffer, int offset, int length)

Field Details

crc

(package private)  PRZ24 crc


finished

(package private)  boolean finished


inBuf

(package private)  byte[] inBuf


inOff

(package private)  int inOff


lineBuffer

(package private)  byte[] lineBuffer


outBuf

(package private)  byte[] outBuf


outBufMax

(package private)  int outBufMax


outOff

(package private)  int outOff

Constructor Details

ScarInputStream

public ScarInputStream(InputStream is)
            throws IOException

Method Details

close

public void close()
            throws IOException
Override close in Base64InputStream to allow detection of scar footer line. Basically munge lines until it gets to footer.


read

public int read()
            throws IOException


read

public int read(byte[] buffer,
                int offset,
                int length)
            throws IOException