Nevron .NET Vision
Nevron.Compression Namespace / DeflaterOutputStream Class / BeginRead Method
The buffer to read into.
The offset to start storing data at.
The number of bytes to read
The async callback to use.
The state to use.


In This Topic
    BeginRead Method (DeflaterOutputStream)
    In This Topic
    Asynchronous reads are not supported a NotSupportedException is always thrown
    Syntax
    'Declaration
     
    
    Public Overrides Function BeginRead( _
       ByVal buffer() As System.Byte, _
       ByVal offset As System.Integer, _
       ByVal count As System.Integer, _
       ByVal callback As System.AsyncCallback, _
       ByVal state As System.Object _
    ) As System.IAsyncResult
    'Usage
     
    
    Dim instance As DeflaterOutputStream
    Dim buffer() As System.Byte
    Dim offset As System.Integer
    Dim count As System.Integer
    Dim callback As System.AsyncCallback
    Dim state As System.Object
    Dim value As System.IAsyncResult
     
    value = instance.BeginRead(buffer, offset, count, callback, state)
    public override System.IAsyncResult BeginRead( 
       System.byte[] buffer,
       System.int offset,
       System.int count,
       System.AsyncCallback callback,
       System.object state
    )

    Parameters

    buffer
    The buffer to read into.
    offset
    The offset to start storing data at.
    count
    The number of bytes to read
    callback
    The async callback to use.
    state
    The state to use.

    Return Value

    Returns an System.IAsyncResult
    Exceptions
    ExceptionDescription
    Any access
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also