Interface ErrorDetectionWordCalculator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int compute​(byte[] data, int offset, int length)
      Compute the checksum on the data buffer starting at offset and taking into account length bytes
      int sizeInBits()  
    • Method Detail

      • compute

        int compute​(byte[] data,
                    int offset,
                    int length)
        Compute the checksum on the data buffer starting at offset and taking into account length bytes
        Parameters:
        data -
        offset -
        length -
        Returns:
      • sizeInBits

        int sizeInBits()
        Returns:
        size in bits of the calculated checksum (max 32)