Java 8 has reached end of support
and will be
deprecated
on January 31, 2026. After deprecation, you won't be able to deploy Java 8
applications, even if your organization previously used an organization policy to
re-enable deployments of legacy runtimes. Your existing Java
8 applications will continue to run and receive traffic after their
deprecation date. We recommend that
you
migrate to the latest supported version of Java.
Crc32c (Google App Engine API for Java)
Stay organized with collections
Save and categorize content based on your preferences.
- java.lang.Object
-
- com.google.appengine.api.files.Crc32c
-
-
Constructor Summary
Constructors
Constructor and Description |
Crc32c()
Deprecated.
|
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
long |
getValue()
Deprecated.
Returns the value of the checksum.
|
void |
reset()
Deprecated.
Resets the crc.
|
void |
update(byte[] bArray,
int off,
int len)
Deprecated.
Updates the checksum with an array of bytes.
|
void |
update(int b)
Deprecated.
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
-
Crc32c
public Crc32c()
Deprecated.
-
Method Detail
-
reset
public void reset()
Deprecated.
Resets the crc.
- Specified by:
reset
in interface java.util.zip.Checksum
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-16 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCrc32c\u003c/code\u003e class is a deprecated class designed to generate CRC32C checksums as defined by rfc3720 section B.4.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements the \u003ccode\u003ejava.util.zip.Checksum\u003c/code\u003e interface, providing standard checksum functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCrc32c\u003c/code\u003e class has methods to update the checksum with individual bytes (\u003ccode\u003eupdate(int b)\u003c/code\u003e) or arrays of bytes (\u003ccode\u003eupdate(byte[] bArray, int off, int len)\u003c/code\u003e), and to retrieve the current checksum value (\u003ccode\u003egetValue()\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe class also includes a \u003ccode\u003ereset()\u003c/code\u003e method to clear the current checksum value and a constructor \u003ccode\u003eCrc32c()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Crc32c (Google App Engine API for Java)\n\ncom.google.appengine.api.files\n\nClass Crc32c\n------------\n\n- java.lang.Object\n-\n - com.google.appengine.api.files.Crc32c\n\n-\n\n All Implemented Interfaces:\n : java.util.zip.Checksum\n\n *** ** * ** ***\n\n Deprecated.\n\n ```\n @Deprecated\n public final class Crc32c\n extends java.lang.Object\n implements java.util.zip.Checksum\n ``` \nThis class generates a CRC32C checksum, defined by rfc3720 section B.4. \n-\n -\n\n ### Constructor Summary\n\n \u003c!-- --\u003e\n\n -\n\n ### Method Summary\n\n -\n\n ### Methods inherited from class java.lang.Object\n\n`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait` \n-\n -\n\n ### Constructor Detail\n\n\n -\n\n #### Crc32c\n\n ```\n public Crc32c()\n ``` \n Deprecated.\n\n \u003c!-- --\u003e\n\n -\n\n ### Method Detail\n\n\n -\n\n #### update\n\n ```\n public void update(int b)\n ``` \n Deprecated. \n Updates the checksum with a new byte.\n\n Specified by:\n : `update` in interface `java.util.zip.Checksum`\n\n Parameters:\n : `b` - the new byte.\n\n\n -\n\n #### update\n\n ```\n public void update(byte[] bArray,\n int off,\n int len)\n ``` \n Deprecated. \n Updates the checksum with an array of bytes.\n\n Specified by:\n : `update` in interface `java.util.zip.Checksum`\n\n Parameters:\n : `bArray` - the array of bytes.\n : `off` - the offset into the array where the update should begin.\n : `len` - the length of data to examine.\n\n\n -\n\n #### getValue\n\n ```\n public long getValue()\n ``` \n Deprecated. \n Returns the value of the checksum.\n\n Specified by:\n : `getValue` in interface `java.util.zip.Checksum`\n\n Returns:\n : the value of the checksum.\n\n\n -\n\n #### reset\n\n ```\n public void reset()\n ``` \n Deprecated. \n Resets the crc.\n\n Specified by:\n : `reset` in interface `java.util.zip.Checksum`"]]