docs.unity.cn
    Show / Hide Table of Contents

    Method FNV1A64

    FNV1A64(String)

    Generates a FNV1A64 hash.

    Declaration
    public static ulong FNV1A64(string text)
    Parameters
    Type Name Description
    String text

    Text to hash.

    Returns
    Type Description
    UInt64

    Hash of input string.

    FNV1A64<T>(T)

    Generates a FNV1A64 hash.

    Declaration
    public static ulong FNV1A64<T>(T text)
        where T : struct, INativeList<byte>, IUTF8Bytes
    Parameters
    Type Name Description
    T text

    Text to hash.

    Returns
    Type Description
    UInt64

    Hash of input string.

    Type Parameters
    Name Description
    T

    Unmanaged IUTF8 type.

    FNV1A64(Int32)

    Generates a FNV1A64 hash.

    Declaration
    public static ulong FNV1A64(int val)
    Parameters
    Type Name Description
    Int32 val

    Value to hash.

    Returns
    Type Description
    UInt64

    Hash of input.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023