System::Buffers::ReadOnlySequenceSegment class
Contents
[
Hide
]ReadOnlySequenceSegment class
Represents a linked-list node that holds a single contiguous memory segment participating in a multi-segment ReadOnlySequence
template<typename T>class ReadOnlySequenceSegment : public System::Object
| Parameter | Description |
|---|---|
| T | The type of elements held by the segment. |
Methods
| Method | Description |
|---|---|
| get_Memory() const | Gets the contiguous memory held by this segment. |
| get_Next() const | Gets the next segment in the sequence. |
| get_RunningIndex() const | Gets the index of the first element of this segment within the overall sequence. |
| ReadOnlySequenceSegment() | Constructs an empty segment. |
| explicit ReadOnlySequenceSegment(const ReadOnlyMemory<T>&) | Constructs a segment wrapping the given memory block. |
| set_Memory(const ReadOnlyMemory<T>&) | Sets the contiguous memory held by this segment. |
| set_Next(const SharedPtr<ReadOnlySequenceSegment<T>>&) | Sets the next segment in the sequence. |
| set_RunningIndex(int64_t) | Sets the index of the first element of this segment within the overall sequence. |
See Also
- Class Object
- Namespace System::Buffers
- Library Aspose.TeX for C++