System::ReadOnlyMemory class
Contents
[
Hide
]ReadOnlyMemory class
Represents a read-only memory segment backed by an array.
template<typename T>class ReadOnlyMemory : public System::Details::MemoryCore<T>
Methods
| Method | Description |
|---|---|
| static get_Empty() | Gets an empty ReadOnlyMemory instance. |
| get_Span() const | Gets a read-only span that represents the current memory. |
| Slice(int32_t, int32_t) const | Creates a slice of the current readonly memory. |
| static to_ReadOnlyMemory(const ArrayPtr<T>&) | Creates a ReadOnlyMemory instance from the specified array. |
| ToString() const | Converts the character read-only memory to a string representation. |
| ToString() const | Converts the ordinary read-only memory to a string representation. |
Remarks
Exposes a read-only span over the array region and supports slicing.
See Also
- Namespace System
- Library Aspose.PDF for C++