docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Hash64

    Hash64(byte*, int, ulong)

    Generate a 64-bit xxHash value.

    Declaration
    public static ulong Hash64(byte* buffer, int bufferLength, ulong seed = 0)
    Parameters
    Type Name Description
    byte* buffer

    Input buffer.

    int bufferLength

    Input buffer length.

    ulong seed

    Optional seed.

    Returns
    Type Description
    ulong

    Computed 64-bit hash value.

    Hash64(Stream, ulong)

    Generate a 64-bit xxHash value from a stream.

    Declaration
    public static ulong Hash64(Stream stream, ulong seed = 0)
    Parameters
    Type Name Description
    Stream stream

    Input stream.

    ulong seed

    Optional seed.

    Returns
    Type Description
    ulong

    Computed 64-bit hash value.

    In This Article
    Back to top
    Copyright © 2024 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)