<PackageReference Include="System.Memory" Version="4.6.0" />

SequencePosition

Represents position in non-contiguous set of memory. Properties of this type should not be interpreted by anything but the type that created it.
public SequencePosition(object object, int integer)

Creates new SequencePosition

public bool Equals(SequencePosition other)

Indicates whether the current SequencePosition is equal to another SequencePosition. SequencePosition equality does not guarantee that they point to the same location in ReadOnlySequence<T>

public int GetInteger()

Returns integer part of this SequencePosition

public object GetObject()

Returns object part of this SequencePosition