Qu

crc32

Builtin index · Collections & strings

result = crc32(data)

Input: data · Output: result

What it is

data is a string or a byte buffer.

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
result = crc32(data)
data stringnot documented yet
result number
Returns the standard CRC-32 (IEEE 802.3, reflected, initial value and final XOR 0xFFFFFFFF) as a number: crc32("123456789") is 3421780262, i.e. 0xCBF43926. For other widths or polynomials see crc, which is a plain bitwise polynomial division.

Examples

No documentation example calls this form yet. The Collections & strings chapter is where one belongs.