SpanMemoryReader Constructors
IMemoryReader that wraps a ReadOnlySpan<T>. Will wrap around if the array has 65,536 elements.
c#
public SpanMemoryReader(ReadOnlySpan<Byte> memory, ushort startIndex = 0);Parameters
| Name | Type | Description |
|---|---|---|
memory | ReadOnlySpan<Byte> | |
startIndex | UInt16 |