Generates a CRC32 checksum.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static uint ZLibCRC32(
	uint crc,
	byte[] source,
	uint source_size
)
Visual Basic (Declaration)
Public Shared Function ZLibCRC32 ( _
	crc As UInteger, _
	source As Byte(), _
	source_size As UInteger _
) As UInteger
Visual C++
public:
static unsigned int ZLibCRC32(
	unsigned int crc, 
	array<unsigned char>^ source, 
	unsigned int source_size
)

Parameters

crc
Type: System..::.UInt32
The CRC32 checksum to begin with.
source
Type: array< System..::.Byte >[]()[]
Pointer to the source buffer. If the value is 0, the function returns the required initial value for the crc.
source_size
Type: System..::.UInt32
Size of the source buffer.

Return Value

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also