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