Returns the CRC32C of a
concatenated with data[0, size - 1])
where initCrc
is the CRC32C of some string a
.
Returns the CRC32C of a
concatenated with data[0, size - 1])
where initCrc
is the CRC32C of some string a
.
This method is often used to maintain the CRC32C of a stream of data.
CRC32C of some string.
Bytes to use in order to extend initCrc
.
Number of bytes to use from bytes
. If -1
(the default value), then all bytes are used.
Extended CRC32C.
Returns the CRC32C of a
concatenated with value
where initCrc
is the CRC32C of some string a
.
Returns the CRC32C of a
concatenated with value
where initCrc
is the CRC32C of some string a
. This method
is often used to maintain the CRC32C of a stream of data.
CRC32C of some string.
String to use in order to extend initCrc
.
Extended CRC32C.
Returns a masked representation of crc
.
Returns a masked representation of crc
.
Motivation: It is problematic to compute the CRC of a byte array that contains embedded CRCs. Therefore, we recommend that CRCs stored somewhere (e.g., in files) should be masked before being stored.
CRC to mask.
Masked representation of crc
.
Returns the CRC whose masked representation is maskedCrc
.
Returns the CRC whose masked representation is maskedCrc
.
Masked representation of a CRC.
CRC whose masked representation is maskedCrc
.
Returns the CRC32C of data[0, size - 1])
.
Returns the CRC32C of data[0, size - 1])
.
Bytes to use in order to compute the CRC32C.
Number of bytes to use from bytes
. If -1
(the default value), then all bytes are used.
CRC32C for bytes
.
Returns the CRC32C of the provided string.
Returns the CRC32C of the provided string.
String for which to compute the CRC32C.
CRC32C for value
.