IdeaBlade DevForce 2010 Help Reference
BufferSize Property
See Also  Send Feedback
IdeaBlade.Core Assembly > Ionic.Zlib Namespace > GZipStream Class : BufferSize Property



The size of the working buffer for the compression codec.

Syntax

Visual Basic (Declaration) 
Public Property BufferSize As Integer
Visual Basic (Usage)Copy Code
Dim instance As GZipStream
Dim value As Integer
 
instance.BufferSize = value
 
value = instance.BufferSize
C# 
public int BufferSize {get; set;}
C++/CLI 
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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.