docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Hash32

    Hash32(byte*, int, uint)

    Generate a 32-bit xxHash value.

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

    Input buffer.

    int bufferLength

    Input buffer length.

    uint seed

    Optional seed.

    Returns
    Type Description
    uint

    32-bit hash value.

    Hash32(Stream, uint)

    Generate a 32-bit xxHash value from a stream.

    Declaration
    public static uint Hash32(Stream stream, uint seed = 0)
    Parameters
    Type Name Description
    Stream stream

    Input stream.

    uint seed

    Optional seed.

    Returns
    Type Description
    uint

    32-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)