Pin()

MemoryManager::Pin(int32_t) method

Returns a handle to the memory that has been pinned so its address can be taken.

virtual MemoryHandle System::Buffers::MemoryManager<T>::Pin(int32_t elementIndex=0)=0

Arguments

ParameterTypeDescription
elementIndexint32_tThe offset to the element within the memory at which the returned MemoryHandle points. Defaults to 0.

See Also