Why is System.SpanHelpers
|| new ReadOnlySpan<T>(ref T, int length)
internal?
#92619
-
Recently I need to compare data stored in (
The methods don't seem unsafe at all. Is there a design consideration on this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You want MemoryMarshal.CreateReadOnlySpan. |
Beta Was this translation helpful? Give feedback.
-
Also note that, the |
Beta Was this translation helpful? Give feedback.
You want MemoryMarshal.CreateReadOnlySpan.