Delegate MemoryScanVisitor
- Namespace
- CStructSharp.Memory
- Assembly
- CStructSharp.dll
Processes borrowed known bytes synchronously, retaining only owned results.
public delegate bool MemoryScanVisitor(MemoryScanWindow window, MemoryAccessContext context)
Parameters
windowMemoryScanWindowBorrowed bytes and the interval owning candidate starts.
contextMemoryAccessContextThe same operation budget for CPU checks, pointer follows and transport.
Returns
- bool
True to continue, false to stop with VisitorStopped. Exceptions, cancellation and exhausted budgets propagate.
Constructors
MemoryScanVisitor(object, nint)
public MemoryScanVisitor(object @object, nint method)
Parameters
Methods
BeginInvoke(MemoryScanWindow, MemoryAccessContext, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(MemoryScanWindow window, MemoryAccessContext context, AsyncCallback callback, object @object)
Parameters
windowMemoryScanWindowcontextMemoryAccessContextcallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual bool EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Returns
Invoke(MemoryScanWindow, MemoryAccessContext)
public virtual bool Invoke(MemoryScanWindow window, MemoryAccessContext context)
Parameters
windowMemoryScanWindowcontextMemoryAccessContext