cryptix.tools
Class Scar.ScarInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
cryptix.tools.Scar.ScarInputStream
- All Implemented Interfaces:
- java.io.Closeable
- Enclosing class:
- Scar
final class Scar.ScarInputStream
- extends java.io.FilterInputStream
Fields inherited from class java.io.FilterInputStream |
in |
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)
|
Methods inherited from class java.io.FilterInputStream |
available, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lineBuffer
byte[] lineBuffer
finished
boolean finished
crc
PRZ24 crc
inBuf
byte[] inBuf
outBuf
byte[] outBuf
inOff
int inOff
outOff
int outOff
outBufMax
int outBufMax
Scar.ScarInputStream
public Scar.ScarInputStream(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Overrides:
read
in class java.io.FilterInputStream
- Throws:
java.io.IOException
read
public int read(byte[] buffer,
int offset,
int length)
throws java.io.IOException
- Overrides:
read
in class java.io.FilterInputStream
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Override close in Base64InputStream to allow detection of
scar footer line. Basically munge lines until it gets to footer.
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.FilterInputStream
- Throws:
java.io.IOException