API ReferenceSandbox.Utility
Crc32class
Generates 32-bit Cyclic Redundancy Check (CRC32) checksums. Used for data integrity verification and fast hashing.
object→Crc32
Methods3
Showing 3 methods
public static uint FromBytes(System.Collections.Generic.IEnumerable`1<byte> byteStream)
| Parameter | Type | Description |
|---|---|---|
| byteStream | IEnumerable<byte> | — |
Returns:
uint—public static System.Threading.Tasks.Task`1<uint> FromStreamAsync(System.IO.Stream stream)
Generates a CRC32 checksum from a stream asynchronously.
| Parameter | Type | Description |
|---|---|---|
| stream | Stream | The input to generate a checksum for. |
Returns:
Task<uint>The generated CRC32.public static uint FromString(string str)
Generates a CRC32 checksum from a string.
| Parameter | Type | Description |
|---|---|---|
| str | string | The input to generate a checksum for. |
Returns:
uintThe generated CRC32.No results match this filter.