Did you know ... Search Documentation:
Pack canny_tudor -- prolog/canny/crc.pl
PublicShow source
 crc(+Predefined, -CRC) is semidet
Builds a predefined CRC accumulator.
Arguments:
Predefined- specifies a predefined CRC computation.
CRC- a newly-initialised CRC term with the correct polynomial, initial value and any necessary options such as bit reversal and inversion value.
 crc_property(+CRC, ?Property) is semidet
Extracts the CRC's checksum for comparison, or unifies with other interesting values belonging to a CRC accumulator.
 crc(+CRC0, +Term, -CRC) is semidet
Mutates CRC0 to CRC by feeding in a byte code, or a list of byte codes.
Arguments:
CRC0- the initial or thus-far accumulated CRC.
Term- a byte code or a list of byte codes.
CRC- the updated CRC.
 crc_16_mcrf4xx(-Check) is det
Initialises CRC-16/MCRF4XX checksum.
 crc_16_mcrf4xx(+Check0, +Data, -Check) is det
Accumulates CRC-16/MCRF4XX checksum using optimal shifting and exclusive-OR operations.