PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Formatters Namespace / Unsafe­String Class / Unsafe­String Properties

UnsafeString Properties

The UnsafeString type exposes the following members.

Public propertyBuffer
Gets an unmanaged pointer to the string.
Public propertyIsImmutable
Determines whether the current UnsafeString is immutable or, when the value of this property is false, if still bound to a mutable. Call the MakeImmutable() method to make the UnsafeString immutable.
Public propertyLength
Gets the number of characters in the string.
See Also