docs.unity.cn
    Show / Hide Table of Contents

    Method Hash64

    Hash64(Byte*, Int32, UInt64)

    Generate a 64-bit xxHash value.

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

    Input buffer.

    Int32 bufferLength
    UInt64 seed

    Optional seed.

    Returns
    Type Description
    UInt64

    Computed 64-bit hash value.

    Hash64(Stream, UInt64)

    Generate a 64-bit xxHash value from a stream.

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

    Input stream.

    UInt64 seed

    Optional seed.

    Returns
    Type Description
    UInt64

    Computed 64-bit hash value.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use