{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method Update | Collections | 2.3.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Update

    Update(void*, int)

    Add some data to be hashed

    Declaration
    public void Update(void* input, int length)
    Parameters
    Type Name Description
    void* input

    The memory buffer, can't be null

    int length

    The length of the data to accumulate, can be zero

    Remarks

    This API allows you to feed very small data to be hashed, avoiding you to accumulate them in a big buffer, then computing the hash value from.

    Update<T>(in T)

    Add the contents of input struct to the hash.

    Declaration
    public void Update<T>(in T input) where T : unmanaged
    Parameters
    Type Name Description
    T input

    The input struct that will be hashed

    Type Parameters
    Name Description
    T

    The input type.

    Remarks

    This API allows you to feed very small data to be hashed, avoiding you to accumulate them in a big buffer, then computing the hash value from.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)