기술 자료

Unity Engine

Unity Engine

Capacity

The current capacity in bytes of this string.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public int Capacity { readonly get; set; }

Remarks

The null-terminator byte is not included in the capacity, so the string's character buffer is
Capacity + 1
in size.