Interface CrcCombineFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for combining two CRC values along with the data length.
-
Method Summary
Modifier and TypeMethodDescriptionlong
combine
(long crc1, long crc2, long length) Combines two CRC values along with the data length to produce the resulting combined checksum.
-
Method Details
-
combine
long combine(long crc1, long crc2, long length) Combines two CRC values along with the data length to produce the resulting combined checksum.- Parameters:
crc1
- The first CRC value.crc2
- The second CRC value.length
- The length of the data.- Returns:
- The combined CRC value.
-