Closeable
, AutoCloseable
public class CRC32InputStream extends InputStream
CRC32
class is used to internally.Constructor | Description |
---|---|
CRC32InputStream(InputStream delegate) |
Modifier and Type | Method | Description |
---|---|---|
int |
available() |
|
void |
close() |
|
int |
getCRC32() |
|
void |
mark(int readLimit) |
|
boolean |
markSupported() |
|
int |
read() |
|
int |
read(byte[] b) |
|
int |
read(byte[] b,
int off,
int length) |
|
void |
reset() |
|
long |
skip(long n) |
readAllBytes, readNBytes, transferTo
public CRC32InputStream(InputStream delegate)
public int getCRC32()
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b) throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int length) throws IOException
read
in class InputStream
IOException
public long skip(long n) throws IOException
skip
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public void close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
close
in class InputStream
IOException
public void mark(int readLimit)
mark
in class InputStream
public void reset() throws IOException
reset
in class InputStream
IOException
public boolean markSupported()
markSupported
in class InputStream