BufferSize Property

DotNetZip

Ionic Zip Library v1.9.1.6 BufferSize Property
ReferenceIonic.ZlibGZipStreamBufferSize
The size of the working buffer for the compression codec.
Declaration Syntax
C# Visual Basic Visual C++
public int BufferSize { get; set; }
Public Property BufferSize As Integer
	Get
	Set
public:
property int BufferSize {
	int get ();
	void set (int value);
}
Remarks

The working buffer is used for all stream operations. The default size is 1024 bytes. The minimum size is 128 bytes. You may get better performance with a larger buffer. Then again, you might not. You would have to test it.

Set this before the first call to Read() or Write() on the stream. If you try to set it afterwards, it will throw.

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