Property ReadOnlySpan
- Namespace
- Ubiquity.NET.InteropHelpers
- Assembly
- Ubiquity.NET.InteropHelpers.dll
ReadOnlySpan
Gets a readonly span for the data in this string
public ReadOnlySpan<byte> ReadOnlySpan { get; }
Property Value
- ReadOnlySpan<byte>
Span of the ANSI characters in this string (as byte)
Remarks
This does NOT make a managed copy of the underlying string memory. Instead the returned span refers directly to the unmanaged memory of the string.