docs.unity3d.com
    Show / Hide Table of Contents

    Method __crc32ch

    __crc32ch(UInt32, UInt16)

    CRC32 checksum performs a cyclic redundancy check (CRC) calculation on a value held in a general-purpose register. It takes an input CRC value in the first source operand, performs a CRC on the input value in the second source operand, and returns the output CRC value. The second source operand can be 8, 16, 32, or 64 bits. To align with common usage, the bit order of the values is reversed as part of the operation, and the polynomial 0x04C11DB7 is used for the CRC calculation.
    Equivalent instruction: CRC32CH Wd,Wn,Wm

    Declaration
    public static uint __crc32ch(uint a0, ushort a1)
    Parameters
    Type Name Description
    UInt32 a0

    UInt32 a0

    UInt16 a1

    UInt16 a1

    Returns
    Type Description
    UInt32

    UInt32

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023