기술 자료

Unity Engine

Unity Engine

Hash(void*, int)

Returns a (non-cryptographic) hash of a memory block.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public static uint Hash(void* ptr, int bytes)

Parameters

A buffer.

bytes

The number of bytes to hash.

Returns

Type

Description

uintA hash of the bytes.

Remarks