nn::util::Crc8 Class

Syntax

class Crc8

Description

This is the class for calculating CRC-8.

CRC-8 is an algorithm that finds an 8-bit hash value.

Member Functions

Crc8 This is the default constructor.
InitializeContext Initializes the context used for calculating CRC-8 hash values.
Update Updates the CRC-8 hash value with the input data.
GetHash Gets the final result of calculating the CRC-8 hash value.
S Calculate Calls all the associated functions needed to calculate CRC-8, and gets the calculation result.

Revision History

2010/10/15
Initial version.

CONFIDENTIAL