Skip to content

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);

View source

Parameters ​

NameTypeDescription
memoryReadOnlySpan<Byte>
startIndexUInt16