Inherits System::Details::SpanCore< const T, ReadOnlySpan< T >, Span< T > >.
template<typename T>
class System::ReadOnlySpan< T >
Forward to use within Span class.
Represents a read-only contiguous region of arbitrary memory.
- Template Parameters
-
T | The type of elements in the span. This class provides a type-safe way to work with contiguous sequences of objects in a read-only manner. It can be used to wrap arrays, stack arrays, or raw pointers while maintaining bounds checking. The ReadOnlySpan doesn't own the memory it points to - it's just a view into existing memory. |