Xceed .NET Libraries Documentation
ReadItemData(Stream,Byte[]) Method


Xceed.Zip Assembly > Xceed.Zip.ReaderWriter Namespace > ZipReader Class > ReadItemData Method : ReadItemData(Stream,Byte[]) Method
Reads a sequence of bytes from the ZipReader's stream and advances the position within by the number of bytes read.
Syntax
'Declaration
 
Public Overloads Function ReadItemData( _
   ByVal stream As Stream, _
   ByVal buffer() As Byte _
) As Long
'Usage
 
Dim instance As ZipReader
Dim stream As Stream
Dim buffer() As Byte
Dim value As Long
 
value = instance.ReadItemData(stream, buffer)
public long ReadItemData( 
   Stream stream,
   byte[] buffer
)

Parameters

stream
buffer

Return Value

The total number of bytes read into buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.
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

Reference

ZipReader Class
ZipReader Members
Overload List