public override MemoryHandle Pin(int elementIndex = 0)
 {
     ThrowIfDisposed();
     return(new MemoryHandle((byte *)_view.DangerousGetHandle() + _offset, pinnable: this));
 }
Esempio n. 2
0
 public void Flush(IntPtr capacity)
 {
     MemoryMapImpl.Flush(m_viewHandle.DangerousGetHandle());
 }