Represents a CRC32 calculator.
More...
Represents a CRC32 calculator.
◆ getValue()
long AMPS.Client.Utilities.CRC32.getValue |
( |
long |
result_ | ) |
|
Gets the CRC32 value.
- Parameters
-
result_ | The current value of the CRC32 calculator. |
- Returns
- The CRC32 value.
◆ init()
long AMPS.Client.Utilities.CRC32.init |
( |
| ) |
|
Initializes the CRC32 calculator.
- Returns
- The initial value of the CRC32 calculator.
◆ update()
long AMPS.Client.Utilities.CRC32.update |
( |
long |
result_, |
|
|
byte[] |
buf, |
|
|
int |
offset, |
|
|
int |
len |
|
) |
| |
Updates the CRC32 calculator with the specified byte array.
- Parameters
-
result_ | The current value of the CRC32 calculator. |
buf | The byte array to update the CRC32 calculator with. |
offset | The zero-based byte offset in buf at which to begin reading bytes to use in the CRC32 calculation. |
len | The number of bytes to read from buf for the CRC32 calculation. |
- Returns
- The updated value of the CRC32 calculator.
The documentation for this interface was generated from the following file: