Writes the entire contents of a stream to the ZipWriter object's stream.
'Declaration
Public Overloads Function WriteItemData( _
ByVal As Stream, _
ByVal () As Byte _
) As Long
'Usage
Dim instance As ZipWriter
Dim itemData As Stream
Dim buffer() As Byte
Dim value As Long
value = instance.WriteItemData(itemData, buffer)
public long WriteItemData(
Stream ,
byte[]
)
Parameters
- itemData
- A System.IO.Stream object.
- buffer
- An array of System.Byte to be used as the buffer in the data copy loop from itemData to ZipWriter.
Return Value
Returns the total amount of bytes read from the specified
System.IO.Stream.
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