nn::util::Crc32Posix Class

Syntax

class Crc32Posix

Description

This is the class for calculating CRC-32/POSIX.

CRC-32/POSIX is an algorithm that finds an 32-bit hash value. CRC-32/POSIX is an algorithm used in the cksum command, which is included in POSIX-compliant Unix. It is defined in POSIX 1003.2. With the cksum command, CRC is taken after the file length is appended to the end of the input file.

Member Functions

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

Revision History

2010/10/15
Initial version.

CONFIDENTIAL