All pages
Powered by GitBook
1 of 4

Loading...

Loading...

Loading...

Loading...

GetChecksum(byte[])

Method in CRC32

Summary

Computes a CRC32 checksum from the given bytes.

Parameters

Name
Description

byte[] bytes

The bytes to generate a checksum for.

Returns

A CRC32 checksum derived from bytes .

public static uint GetChecksum(byte[] bytes)

CRC32

Class in

Inherits from System.Object

Provides a method for generating CRC32 hashes of strings.

Name
Description
public static class CRC32

Summary

Methods

Yarn.Utility

Computes a CRC32 checksum from the given bytes.

Computes a CRC32 checksum from the given string.

Gets the CRC-32 hash of s as a string containing 8 lowercase hexadecimal characters.

GetChecksum(byte[])
GetChecksum(string)
GetChecksumString(string)

GetChecksumString(string)

Method in CRC32

Summary

Gets the CRC-32 hash of s as a string containing 8 lowercase hexadecimal characters.

public static string GetChecksumString(string s)

Remarks

This method converts the string to a UTF-8 encoding, and then computes a CRC32 checksum from those bytes.

Parameters

Name
Description

string s

The string containing the checksum.

The string to get the checksum of.

Returns

GetChecksum(string)

Method in CRC32

Summary

Computes a CRC32 checksum from the given string.

Remarks

This method converts the string to a UTF-8 encoding, and then computes a CRC32 checksum from those bytes.

Parameters

Name
Description

string s

The string to generate a checksum for.

Returns

A CRC32 checksum derived from s .

public static uint GetChecksum(string s)