Delegate StreamConsumer.StreamConsumerDelegate
Delegate type for the callback used by ConsumeToEnd.
Assembly: EPiServer.BaseLibrary.dll
Version: 8.11.0
Syntax
public delegate void StreamConsumerDelegate(byte[] buffer, int offset, int count);
Parameters
Type |
Name |
Description |
System.Byte[] |
buffer |
|
System.Int32 |
offset |
|
System.Int32 |
count |
|
Constructors
StreamConsumerDelegate(Object, IntPtr)
Declaration
public StreamConsumerDelegate(object object, IntPtr method)
Parameters
Type |
Name |
Description |
System.Object |
object |
|
System.IntPtr |
method |
|
Methods
BeginInvoke(Byte[], Int32, Int32, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(byte[] buffer, int offset, int count, AsyncCallback callback, object object)
Parameters
Type |
Name |
Description |
System.Byte[] |
buffer |
|
System.Int32 |
offset |
|
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(Byte[], Int32, Int32)
Declaration
public virtual void Invoke(byte[] buffer, int offset, int count)
Parameters
Type |
Name |
Description |
System.Byte[] |
buffer |
|
System.Int32 |
offset |
|
System.Int32 |
count |
|
Extension Methods