Table of Contents

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

window MemoryScanWindow

Borrowed bytes and the interval owning candidate starts.

context MemoryAccessContext

The 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

object object
method nint

Methods

BeginInvoke(MemoryScanWindow, MemoryAccessContext, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(MemoryScanWindow window, MemoryAccessContext context, AsyncCallback callback, object @object)

Parameters

window MemoryScanWindow
context MemoryAccessContext
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual bool EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

bool

Invoke(MemoryScanWindow, MemoryAccessContext)

public virtual bool Invoke(MemoryScanWindow window, MemoryAccessContext context)

Parameters

window MemoryScanWindow
context MemoryAccessContext

Returns

bool