System::Runtime::InteropServices::MemoryMarshal::AsMemory method
MemoryMarshal::AsMemory method
Casts a ReadOnlyMemory to mutable Memory.
template<typename T> static Memory<T> System::Runtime::InteropServices::MemoryMarshal::AsMemory(const ReadOnlyMemory<T> &memory)
| Parameter | Description |
|---|---|
| T | The type of elements in the ReadOnlyMemory. |
| Parameter | Type | Description |
|---|---|---|
| memory | const ReadOnlyMemory<T>& | The ReadOnlyMemory to cast. |
ReturnValue
A Memory object that represents the same memory as the ReadOnlyMemory.
See Also
- Class Memory
- Class ReadOnlyMemory
- Class MemoryMarshal
- Namespace System::Runtime::InteropServices
- Library Aspose.PDF for C++