UnsafeStringBuilder.SetNullTermination Method |
Namespace: PostSharp.Patterns.Formatters
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
public bool SetNullTermination()
Return Value
Type: Booleantrue if the string was null-terminated without affecting its length, or false if the last character of the string was replaced by the null character and the string length was decreased by 1.