Nevron .NET Vision
Nevron.Compression Namespace / InflaterInputStream Class / BeginWrite Method
The buffer to write data from
Offset of first byte to write
The maximum number of bytes to write
The method to be called when the asynchronous write operation is completed
A user-provided object that distinguishes this particular asynchronous write request from other requests


In This Topic
    BeginWrite Method (InflaterInputStream)
    In This Topic
    Entry point to begin an asynchronous write. Always throws a NotSupportedException.
    Syntax
    'Declaration
     
    
    Public Overrides Function BeginWrite( _
       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 InflaterInputStream
    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.BeginWrite(buffer, offset, count, callback, state)
    public override System.IAsyncResult BeginWrite( 
       System.byte[] buffer,
       System.int offset,
       System.int count,
       System.AsyncCallback callback,
       System.object state
    )

    Parameters

    buffer
    The buffer to write data from
    offset
    Offset of first byte to write
    count
    The maximum number of bytes to write
    callback
    The method to be called when the asynchronous write operation is completed
    state
    A user-provided object that distinguishes this particular asynchronous write request from other requests

    Return Value

    An IAsyncResult that references the asynchronous write
    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