{!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} Class HashingMethods | Scriptable Build Pipeline | 2.0.2
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class HashingMethods

    Creates the RawHash for an object.

    Inheritance
    object
    HashingMethods
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.Build.Pipeline.Utilities
    Assembly: solution.dll
    Syntax
    public static class HashingMethods

    Methods

    Name Description
    Calculate(object)

    Creates the hash for an object.

    Calculate(params object[])

    Creates the hash for a set of objects.

    Calculate(Hash128, Hash128)

    Creates the hash for a pair of Hash128 objects. Optimized specialization of the generic Calculate() methods that has been shown to be ~3x faster The generic function uses reflection to obtain the four 32bit fields in the Hash128 which is slow, this function uses more direct byte access

    CalculateFile(string)

    Creates the hash for a file.

    CalculateFile<T>(string)

    Creates the hash for a file.

    CalculateStream(Stream)

    Creates the hash for a stream of data.

    CalculateStream<T>(Stream)

    Creates the hash for a stream of data.

    Calculate<T>(object)

    Creates the hash for an object.

    Calculate<T>(params object[])

    Creates the hash for a set of objects.

    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)