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