ComponentOne Zip for .NET
Write Method (C1ZStreamWriter)

C1.C1Zip.4 Assembly > C1.C1Zip Namespace > C1ZStreamWriter Class : Write Method
An array of bytes. This method copies count bytes from buf to the current stream.
The zero-based byte offset in buf at which to begin copying bytes to the current stream.
The number of bytes to be written to the current stream.
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
Syntax
Public Overrides Sub Write( _
   ByVal buf() As Byte, _
   ByVal offset As Integer, _
   ByVal count As Integer _
) 
public override void Write( 
   byte[] buf,
   int offset,
   int count
)

Parameters

buf
An array of bytes. This method copies count bytes from buf to the current stream.
offset
The zero-based byte offset in buf at which to begin copying bytes to the current stream.
count
The number of bytes to be written to the current stream.
Remarks
The data is compressed as it is written into the stream. Writing count bytes into the stream will usually advance the position by a number smaller than count.
See Also

Reference

C1ZStreamWriter Class
C1ZStreamWriter Members