Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Capacity

The current capacity in bytes of this string.
Read time 1 minuteLast updated 14 days ago

Definition

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.