public class Crc64InputStream
extends java.io.InputStream
| Constructor and Description | 
|---|
Crc64InputStream(java.io.InputStream next)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
Closes the stream output. 
 | 
long | 
getDigest()
Returns the CRC value. 
 | 
long | 
getLength()  | 
int | 
read()  | 
int | 
read(byte[] buffer,
    int offset,
    int length)
Writes a buffer to the underlying stream. 
 | 
java.lang.String | 
toString()  | 
public long getDigest()
public long getLength()
public int read()
         throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buffer,
                int offset,
                int length)
         throws java.io.IOException
read in class java.io.InputStreambuffer - the byte array to write.offset - the offset into the byte array.length - the number of bytes to write.java.io.IOExceptionpublic void close()
           throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object