static u32 Calculate( const void * input, size_t length, u32 context = CRC32_STANDARD_INIT );
| Name | Description | |
|---|---|---|
| in | input | Pointer to the input data. |
| in | length | Size of the input data. |
| in | context | Initial value of the context. Normally the default value is used. |
Calls all the associated functions needed to calculate CRC-32, and gets the calculation result.
Internally, calls the following functions together: nn::util::Crc32::InitializeContext, nn::util::Crc32::Update, and nn::util::Crc32::GetHash. This function cannot be used if you need to split up the data and call nn::util::Crc32::Update multiple times.
Any size and alignment position can be used for the input data.
CONFIDENTIAL