Class CRC32
Functions for CRC32 calculation
Inherited Members
Namespace: DuetControlServer.Utility
Assembly: DuetControlServer.dll
Syntax
public static class CRC32
Remarks
The internals of this class originate from Crc32.NET, see https://github.com/force-net/Crc32.NET
Methods
Calculate(Span<byte>)
Calculate the CRC32 checksum for the given byte span
Declaration
public static uint Calculate(Span<byte> buffer)
Parameters
Type | Name | Description |
---|---|---|
Span<byte> | buffer | Input data |
Returns
Type | Description |
---|---|
uint | CRC32 checksum |