![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
CRC32 calculator. More...
#include <crc32_calculator_interface.h>
Inherits ISDKComponent.
Public Member Functions | |
| virtual SDKResult SDK_CALLTYPE | Calculate (const sdk::base::ISDKStreamSP &stream_in, SDKCRC32 &ret_val) const =0 throw () |
| Calculates the CRC32 for SDKStream. | |
| virtual void SDK_CALLTYPE | Restart ()=0 throw () |
| Restarts the operation. | |
| virtual SDKResult SDK_CALLTYPE | Update (const SDKUInt8 *buf, SDKUInt64 data_size)=0 throw () |
| Updates the next buffer. More... | |
| virtual SDKResult SDK_CALLTYPE | Final (SDKCRC32 &ret_val)=0 throw () |
| Finalizes the operation. More... | |
CRC32 calculator.
CRC32 calculator.
|
pure virtual | ||||||||||||||||||||
Updates the next buffer.
| [in] | buf | Pointer to the next data chunk in the calculation sequence. |
| [in] | data_size | Dataset size. |
Finalizes the operation.
| [out] | ret_val | Address of a variable that receives the calculated CRC32. |