java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.sixlegs.image.png.CRCInputStream
- All Implemented Interfaces:
- java.io.Closeable
- final class CRCInputStream
- extends java.io.FilterInputStream
|
Method Summary |
int |
count()
|
long |
getValue()
|
int |
read()
Calls the in.read() method |
int |
read(byte[] b,
int off,
int len)
Calls the in.read(byte[], int, int) method. |
void |
reset()
Calls the in.reset() method. |
long |
skip(long n)
Calls the in.skip(long) method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
crc
private java.util.zip.CRC32 crc
byteCount
private int byteCount
byteArray
private byte[] byteArray
CRCInputStream
public CRCInputStream(java.io.InputStream in)
getValue
public long getValue()
reset
public void reset()
- Description copied from class:
java.io.FilterInputStream
- Calls the
in.reset() method.
count
public int count()
read
public int read()
throws java.io.IOException
- Description copied from class:
java.io.FilterInputStream
- Calls the
in.read() method
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Description copied from class:
java.io.FilterInputStream
- Calls the
in.read(byte[], int, int) method.
skip
public long skip(long n)
throws java.io.IOException
- Description copied from class:
java.io.FilterInputStream
- Calls the
in.skip(long) method