public class PureJavaCrc32C
extends java.lang.Object
implements java.util.zip.Checksum
Copied from Apache Hadoop 2.3.6: https://gitbox.apache.org/repos/asf?p=hadoop.git;a=blob_plain; f=hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/PureJavaCrc32C.java; hb=2120de588b92b9f22b1cc4188761d6a8c61aa778
This class is Not ThreadSafe
| Constructor and Description |
|---|
PureJavaCrc32C()
Create a new PureJavaCrc32 object.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getValue() |
void |
reset() |
void |
update(byte[] b,
int off,
int len) |
void |
update(int b) |
public long getValue()
getValue in interface java.util.zip.Checksumpublic void reset()
reset in interface java.util.zip.Checksumpublic void update(byte[] b,
int off,
int len)
update in interface java.util.zip.Checksumpublic final void update(int b)
update in interface java.util.zip.ChecksumCopyright © 2010 - 2023 Adobe. All Rights Reserved