We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac63bb2 commit 0aea5f4Copy full SHA for 0aea5f4
1 file changed
src/main/java/org/indunet/fastproto/checksum/CRC32.java
@@ -18,10 +18,10 @@
18
19
20
/**
21
- * The CRC32 class implements the CRC interface and defines the CRC32 checksum calculation.
22
- * It provides the polynomial and initial value for CRC32.
23
- * The calculate method is used to calculate the CRC32 value of the given data.
24
- * Note that the polynomial and initial value for CRC32 are fixed and cannot be set.
+ * The CRC32 class implements the CRC interface and calculates CRC32 checksums.
+ * It uses {@code DEFAULT_POLYNOMIAL} and {@code DEFAULT_INITIAL_VALUE} as defaults.
+ * These constants may be changed in the constructor or dynamically via
+ * {@link #setPolynomial(int)} and {@link #setInitialValue(int)}.
25
*
26
* @author Deng Ran
27
* @since 3.11.0
0 commit comments