Write Method (buffer, offset, count)

DotNetZip

Ionic Zip Library v1.9.1.6 Write Method (buffer, offset, count)
ReferenceIonic.ZlibParallelDeflateOutputStreamWrite(array<Byte>[]()[][], Int32, Int32)
Write data to the stream.
Declaration Syntax
C# Visual Basic Visual C++
public override void Write(
	byte[] buffer,
	int offset,
	int count
)
Public Overrides Sub Write ( _
	buffer As Byte(), _
	offset As Integer, _
	count As Integer _
)
public:
virtual void Write(
	array<unsigned char>^ buffer, 
	int offset, 
	int count
) override
Parameters
buffer (array<Byte>[]()[][])
The buffer holding data to write to the stream.
offset (Int32)
the offset within that data array to find the first byte to write.
count (Int32)
the number of bytes to write.
Remarks

To use the ParallelDeflateOutputStream to compress data, create a ParallelDeflateOutputStream with CompressionMode.Compress, passing a writable output stream. Then call Write() on that ParallelDeflateOutputStream, providing uncompressed data as input. The data sent to the output stream will be the compressed form of the data written.

To decompress data, use the DeflateStream class.

Assembly: Ionic.Zip (Module: Ionic.Zip) Version: 1.9.1.8 (1.9.1.8)