{!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} Constructor StreamingState | Collections | 2.3.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor StreamingState

    StreamingState(bool, ulong)

    Create a StreamingState object, ready to be used with the streaming API

    Declaration
    public StreamingState(bool isHash64, ulong seed = 0)
    Parameters
    Type Name Description
    bool isHash64

    true if we are computing a 64bits hash value, false if we are computing a 128bits one

    ulong seed

    A seed value to be used to compute the hash, default is 0

    Remarks

    Once the object is constructed, you can call the Update(void*, int) method as many times as you want to accumulate data to hash. When all the data has been sent, call DigestHash64() or DigestHash128() to retrieve the corresponding key, the xxHash3.StreamingState instance will then be reset, using the same hash key size and same Seed in order to be ready to be used again.

    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)