'Declaration Public Overloads Function ReadItemData( _ ByVal stream As Stream, _ ByVal buffer() As Byte, _ ByVal offset As Integer, _ ByVal count As Integer _ ) As Long
Parameters
- stream
- A System.IO.Stream object that will receive the item's data.
- buffer
- An array of bytes 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 copying 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 stream, or 0 if the end of the item's data has been reached.