|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
com.caucho.vfs.Crc64InputStream
public class Crc64InputStream
Constructor Summary | |
---|---|
Crc64InputStream(java.io.InputStream next)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.io.InputStream |
---|
available, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Crc64InputStream(java.io.InputStream next)
Method Detail |
---|
public long getDigest()
public long getLength()
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] buffer, int offset, int length) throws java.io.IOException
read
in class java.io.InputStream
buffer
- the byte array to write.offset
- the offset into the byte array.length
- the number of bytes to write.
-
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.InputStream
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |