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.

@FunctionalInterface public interface CrcCombineFunction
Functional interface for combining two CRC values along with the data length.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    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.