ドキュメント

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 分最終更新 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.