|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.files.Crc32c
public final class Crc32c
This class generates a CRC32C checksum, defined by rfc3720 section B.4.
| Constructor Summary | |
|---|---|
Crc32c()
|
|
| Method Summary | |
|---|---|
long |
getValue()
Returns the value of the checksum. |
void |
reset()
Resets the crc. |
void |
update(byte[] bArray,
int off,
int len)
Updates the checksum with an array of bytes. |
void |
update(int b)
Updates the checksum with a new byte. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Crc32c()
| Method Detail |
|---|
public void update(int b)
update in interface java.util.zip.Checksumb - the new byte.
public void update(byte[] bArray,
int off,
int len)
update in interface java.util.zip.ChecksumbArray - the array of bytes.off - the offset into the array where the update should begin.len - the length of data to examine.public long getValue()
getValue in interface java.util.zip.Checksumpublic void reset()
reset in interface java.util.zip.Checksum
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||