Nevron .NET Vision
Nevron.Compression Namespace / DeflaterOutputStream Class / Read Method
The buffer to store read data in.
The offset to start storing at.
The maximum number of bytes to read.


In This Topic
    Read Method (DeflaterOutputStream)
    In This Topic
    Read a block of bytes from stream
    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 DeflaterOutputStream
    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 buffer to store read data in.
    offset
    The offset to start storing at.
    count
    The maximum number of bytes to read.

    Return Value

    The actual number of bytes read. Zero if end of stream is detected.
    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