rtl/crc.h File Reference

#include "sal/config.h"
#include "sal/saldllapi.h"
#include "sal/types.h"

Go to the source code of this file.

Functions

SAL_DLLPUBLIC sal_uInt32 rtl_crc32 (sal_uInt32 Crc, const void *Data, sal_uInt32 DatLen) SAL_THROW_EXTERN_C()
 Evaluate CRC32 over given data.

Function Documentation

SAL_DLLPUBLIC sal_uInt32 rtl_crc32 ( sal_uInt32  Crc,
const void *  Data,
sal_uInt32  DatLen 
)

Evaluate CRC32 over given data.

This function evaluates the CRC polynomial 0xEDB88320.

Parameters:
Crc [in] CRC32 over previous data or zero.
Data [in] data buffer.
DatLen [in] data buffer length.
Returns:
new CRC32 value.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Dec 2013 by  doxygen 1.6.1