Reads the entire contents of an item's data into a specified
System.IO.Stream.
Parameters
- stream
- A System.IO.Stream object that will receive the item's data.
- buffer
- An array of System.Byte to be used as the buffer in the data copy loop from ZipReader to stream.
- offset
- The zero-based byte offset in buffer at which to begin writing bytes read.
- count
- The number of bytes to be copied to buffer in each loop iteration.
Return Value
Returns the actual number of bytes written to the specified
System.IO.Stream, or 0 if the end of the item's data has been reached.
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