Property Length
Length
The current length in bytes of this string.
Declaration
public int Length { readonly get; set; }
Property Value
Type | Description |
---|---|
int | The current length in bytes of the UTF-8 encoded string. |
Implements
Remarks
The length does not include the null terminator byte.
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown if ENABLE_UNITY_COLLECTIONS_CHECKS is defined and a write is attempted. |