기술 자료

Unity Engine

Unity Engine

ReadFixedString(NativeArray<byte>)

Read and copy data into the given NativeArray of bytes, an error will be logged if not enough bytes are available in the array.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public ushort ReadFixedString(NativeArray<byte> array)

Parameters

Buffer to write the string bytes to.

Returns

Type

Description

ushortLength of data read into byte array, or zero if error occurred.