Crc32 Class
A helper class to quickly calculate CRC32 codes.
Namespace
Statiq.Common
Base Types
  • object
graph BT Type-->Base0["object"] Type["Crc32"] class Type type-node

Syntax

public static class Crc32

Remarks

The implementation was originally taken from the ASP.NET v5 Razor caching implementation.

Methods

Name Return Value Summary
Calculate(byte[]) uint
Calculates a CRC32 code from a byte array.
static
Calculate(string) uint
Calculates a CRC32 code from a string.
static
CalculateAsync(Stream) Task<uint>
Calculates a CRC32 code from a stream.
static