SaaS CMS has officially launched! Learn more now.

Delegate PooledMemoryBufferArea.BlockCopyDelegate

We need to reverse the argument order depending on reading or writing, thus a delegate for the System.Buffer.BlockCopy(System.Array,System.Int32,System.Array,System.Int32,System.Int32) method.

Namespace: EPiServer.BaseLibrary
Assembly: EPiServer.BaseLibrary.dll
Version: 8.11.0
Syntax
protected delegate void BlockCopyDelegate(Array array1, int offset1, Array array2, int offset2, int count);
Parameters
Type Name Description
System.Array array1
System.Int32 offset1
System.Array array2
System.Int32 offset2
System.Int32 count

Constructors

BlockCopyDelegate(Object, IntPtr)

Declaration
public BlockCopyDelegate(object object, IntPtr method)
Parameters
Type Name Description
System.Object object
System.IntPtr method

Methods

BeginInvoke(Array, Int32, Array, Int32, Int32, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(Array array1, int offset1, Array array2, int offset2, int count, AsyncCallback callback, object object)
Parameters
Type Name Description
System.Array array1
System.Int32 offset1
System.Array array2
System.Int32 offset2
System.Int32 count
System.AsyncCallback callback
System.Object object
Returns
Type Description
System.IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type Name Description
System.IAsyncResult result

Invoke(Array, Int32, Array, Int32, Int32)

Declaration
public virtual void Invoke(Array array1, int offset1, Array array2, int offset2, int count)
Parameters
Type Name Description
System.Array array1
System.Int32 offset1
System.Array array2
System.Int32 offset2
System.Int32 count

Extension Methods