Documentation

Unity Engine


Unity Engine


FNV1A64

Generates a FNV1A64 hash.
Read time 1 minuteLast updated 3 days ago

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.