Skip to main content

Auki::ConjureKit::Manna::Crc32

Public Functions

Name
uintCRC32String(string text)
Compute a checksum for a given string.
uintCRC32Bytes(uint[] data)
Compute a checksum for a given array of uints.
uintCRC32Bytes(NativeArray< uint > data, int offset, int len)
uintCRC32Bytes(byte[] data)

Public Functions Documentation

function CRC32String

static uint CRC32String(
string text
)

Compute a checksum for a given string.

Parameters:

  • text The string to compute the checksum for.

Return: The computed checksum.

function CRC32Bytes

static uint CRC32Bytes(
uint[] data
)

Compute a checksum for a given array of uints.

Parameters:

  • data The array of uints to compute the checksum for.

Return: The computed checksum.

function CRC32Bytes

static uint CRC32Bytes(
NativeArray< uint > data,
int offset,
int len
)

function CRC32Bytes

static uint CRC32Bytes(
byte[] data
)