public class CRCInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
CRCInputStream(java.io.InputStream is) |
CRCInputStream(java.io.InputStream is,
java.util.zip.CRC32 crc) |
| Modifier and Type | Method and Description |
|---|---|
long |
getByteCount() |
long |
getCRCValue() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
public CRCInputStream(java.io.InputStream is)
public CRCInputStream(java.io.InputStream is,
java.util.zip.CRC32 crc)
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic long getCRCValue()
public long getByteCount()
Copyright © 2019 The International Internet Preservation Consortium. All Rights Reserved.