Click or drag to resize

IArrayBufferInvokeWithDirectAccess(ActionIntPtr) Method

Invokes a delegate that returns no value, giving it direct access to the ArrayBuffer's contents.

Namespace: Microsoft.ClearScript.JavaScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax
void InvokeWithDirectAccess(
	Action<IntPtr> action
)

Parameters

action  ActionIntPtr
The delegate to invoke.
Remarks
This method invokes the specified delegate, passing in the memory address of the ArrayBuffer's contents. This memory address is valid only while the delegate is executing. The delegate must not access memory outside the ArrayBuffer's range.
See Also