com.google.appengine.api.files
Class Crc32c
- java.lang.Object
-
- com.google.appengine.api.files.Crc32c
-
- All Implemented Interfaces:
- java.util.zip.Checksum
Deprecated.
@Deprecated public final class Crc32c extends java.lang.Object implements java.util.zip.ChecksumThis class generates a CRC32C checksum, defined by rfc3720 section B.4.
-
-
Constructor Summary
Constructors Constructor and Description Crc32c()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description longgetValue()Deprecated.Returns the value of the checksum.voidreset()Deprecated.Resets the crc.voidupdate(byte[] bArray, int off, int len)Deprecated.Updates the checksum with an array of bytes.voidupdate(int b)Deprecated.Updates the checksum with a new byte.
-
-
-
Method Detail
-
update
public void update(int b)
Deprecated.Updates the checksum with a new byte.- Specified by:
updatein interfacejava.util.zip.Checksum- Parameters:
b- the new byte.
-
update
public void update(byte[] bArray, int off, int len)Deprecated.Updates the checksum with an array of bytes.- Specified by:
updatein interfacejava.util.zip.Checksum- Parameters:
bArray- the array of bytes.off- the offset into the array where the update should begin.len- the length of data to examine.
-
getValue
public long getValue()
Deprecated.Returns the value of the checksum.- Specified by:
getValuein interfacejava.util.zip.Checksum- Returns:
- the value of the checksum.
-
reset
public void reset()
Deprecated.Resets the crc.- Specified by:
resetin interfacejava.util.zip.Checksum
-
-