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

    Show / Hide Table of Contents

    Struct xxHash3.StreamingState

    Type used to compute hash based on multiple data feed

    Namespace: Unity.Collections
    Assembly: solution.dll
    Syntax
    public struct xxHash3.StreamingState
    Remarks

    Allow to feed the internal hashing accumulators with data through multiple calls to Update(void*, int), then retrieving the final hash value using DigestHash64() or DigestHash128(). More info about how to use this class in its constructor.

    Constructors

    Name Description
    StreamingState(bool, ulong)

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

    Methods

    Name Description
    DigestHash128()

    Compute the 128bits value based on all the data that have been accumulated

    DigestHash64()

    Compute the 64bits value based on all the data that have been accumulated

    Reset(bool, ulong)

    Reset the state of the streaming instance using the given seed value.

    Update(void*, int)

    Add some data to be hashed

    Update<T>(in T)

    Add the contents of input struct to the hash.

    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)