API ReferenceSandbox.Utility
Crc64class
Generate 64-bit Cyclic Redundancy Check (CRC64) checksums.
object→Crc64
Methods4
Showing 4 methods
public static ulong FromBytes(byte[] stream)
Generates a CRC64 checksum from a byte array.
| Parameter | Type | Description |
|---|---|---|
| stream | byte[] | — |
Returns:
ulong—public static ulong FromStream(System.IO.Stream stream)
Generates a CRC64 checksum from a stream.
| Parameter | Type | Description |
|---|---|---|
| stream | Stream | The input to generate a checksum for. |
Returns:
ulongThe generated CRC64.public static System.Threading.Tasks.Task`1<ulong> FromStreamAsync(System.IO.Stream stream)
Generates a CRC64 checksum from a stream asynchronously.
| Parameter | Type | Description |
|---|---|---|
| stream | Stream | The input to generate a checksum for. |
Returns:
Task<ulong>The generated CRC64.public static ulong FromString(string str)
Generates a CRC64 checksum from a string.
| Parameter | Type | Description |
|---|---|---|
| str | string | The input to generate a checksum for. |
Returns:
ulongThe generated CRC64.No results match this filter.