[]
        
(Showing Draft Content)

C1.Zip.C1ZStreamWriter.Write

Write Method

Write(byte[], int, int)

Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.

Declaration
public override void Write(byte[] buf, int offset, int count)
Parameters
Type Name Description
byte[] buf

An array of bytes. This method copies count bytes from buf to the current stream.

int offset

The zero-based byte offset in buf at which to begin copying bytes to the current stream.

int count

The number of bytes to be written to the current stream.

Overrides
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.