Class Crc32
- Namespace
- HtmlAgilityPack
- Assembly
- HtmlAgilityPack.dll
A utility class to compute CRC32.
[Obsolete("This type should not be used; it is intended for internal use in HTML Agility Pack.")]
[CLSCompliant(false)]
public class Crc32
- Inheritance
-
Crc32
- Inherited Members
Constructors
Crc32()
public Crc32()
Methods
CRC32Bytes(byte[])
Compute a checksum for a given array of bytes.
public static uint CRC32Bytes(byte[] bytes)
Parameters
bytes
byte[]The array of bytes to compute the checksum for.
Returns
- uint
The computed checksum.
CRC32String(string)
Compute a checksum for a given string.
public static uint CRC32String(string text)
Parameters
text
stringThe string to compute the checksum for.
Returns
- uint
The computed checksum.