Nevron .NET Vision
Nevron.Compression Namespace / InflaterInputStream Class / Read Method
The array to read and decompress data into
The offset indicating where the data should be placed
The number of bytes to decompress


In This Topic
    Read Method (InflaterInputStream)
    In This Topic
    Reads decompressed data into the provided buffer byte array
    Syntax
    'Declaration
     
    
    Public Overrides Function Read( _
       ByVal buffer() As System.Byte, _
       ByVal offset As System.Integer, _
       ByVal count As System.Integer _
    ) As System.Integer
    'Usage
     
    
    Dim instance As InflaterInputStream
    Dim buffer() As System.Byte
    Dim offset As System.Integer
    Dim count As System.Integer
    Dim value As System.Integer
     
    value = instance.Read(buffer, offset, count)
    public override System.int Read( 
       System.byte[] buffer,
       System.int offset,
       System.int count
    )

    Parameters

    buffer
    The array to read and decompress data into
    offset
    The offset indicating where the data should be placed
    count
    The number of bytes to decompress

    Return Value

    The number of bytes read. Zero signals the end of stream
    Exceptions
    ExceptionDescription
    Inflater needs a dictionary
    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