文档

Unity Engine

Unity Engine

Add(in byte)

Appends a byte.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

Add(byte)

public void Add(in byte value)

Parameters

value

A byte to append.

Remarks

A zero byte will always follow the newly appended byte.
No validation is performed: it is your responsibility for the bytes of the string to form valid UTF-8 when you're done appending bytes.