nn::util::Crc32 Class

Syntax

class Crc32

Description

This is the class for calculating CRC-32.

CRC-32 is an algorithm that finds an 32-bit hash value. CRC-32 is an algorithm used in compression programs, such as PKZIP, and image formats, such as PNG. For details, see ISO 3309 and RFC 2083.

Member Functions

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

Revision History

2010/10/15
Initial version.

CONFIDENTIAL