文档

Unity Engine

Download Unity

Unity Engine

FNV1A64

Generates a FNV1A64 hash.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

FNV1A64(string)

Generates a FNV1A64 hash.
public static ulong FNV1A64(string text)

Parameters

text

Text to hash.

Returns

Type

Description

ulongHash of input string.

FNV1A64<T>(T)

Generates a FNV1A64 hash.
public static ulong FNV1A64<T>(T text) where T : unmanaged, INativeList<byte>, IUTF8Bytes

Parameters

text

T
Text to hash.

Returns

Type

Description

ulongHash of input string.

FNV1A64(int)

Generates a FNV1A64 hash.
public static ulong FNV1A64(int val)

Parameters

val

Value to hash.

Returns

Type

Description

ulongHash of input.