cryptix.tools

Class Scar.ScarInputStream

final class Scar.ScarInputStream extends FilterInputStream

Field Summary
PRZ24crc
booleanfinished
byte[]inBuf
intinOff
byte[]lineBuffer
byte[]outBuf
intoutBufMax
intoutOff
Constructor Summary
ScarInputStream(InputStream is)
Method Summary
voidclose()
Override close in Base64InputStream to allow detection of scar footer line.
intread()
intread(byte[] buffer, int offset, int length)

Field Detail

crc

PRZ24 crc

finished

boolean finished

inBuf

byte[] inBuf

inOff

int inOff

lineBuffer

byte[] lineBuffer

outBuf

byte[] outBuf

outBufMax

int outBufMax

outOff

int outOff

Constructor Detail

ScarInputStream

public ScarInputStream(InputStream is)

Method Detail

close

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

read

public int read()

read

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