Module:CRC 32 ISO HDLC/doc

From Resonite Wiki
Revision as of 19:36, 9 February 2024 by Colin The Cat (talk | contribs) (Documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:CRC 32 ISO HDLC

The CRC32 ISO HDLC algorithm is used by FrooxEngine to derive the color of an unknown C# type in ProtoFlux. This is done by computing the CRC of the type's name (without generic parameters, if any).

Invokable Functions
Function Purpose Example
crc32_hex Computes the hexadecimal CRC32 checksum of the given string {{#invoke:CRC_32_ISO_HDLC|crc32_hex|IAsset}}

The following functions are exported, but not invokable by Media Wiki.

Other Functions
Function Purpose Example
crc32 Computes the CRC32 checksum of the given string crc32("IAsset")

Example: crc32("IAsset") = 9CD97842 (check: 9CD97842)