minimumReadBuffer (Attribute)

>>--minimumReadBuffer-------------------><

Returns the current size of the minimum read buffer in bytes. The programmer can adjust the size of the minimum read buffer. The value of this attribute reflects that size.

~minimumReadBuffer= (set minimumReadBuffer)

minimumReadBuffer= is a private method, not intended to be changed by the programmer. The programmer changes the size of the buffer using the minimumRead= method.

~minimumReadBuffer (get minimumReadBuffer)

The current size in bytes of the minimum read buffer.

Example:

This example displays the size of the minimum read buffer when a new WindowsEventLog object is created and then displays the size after the programmer has changed the minimum.


 eventLog = .WindowsEventLog~new
 say "Current size of the minimum read buffer is" eventLog~minimumReadBuffer "bytes"

 eventLog~minimumRead = 64
  say "Adjusted size of the minimum read buffer to" eventLog~minimumReadBuffer "bytes"

::requires 'winSystm.cls'

/* Output might be:

Current size of the minimum read buffer is 16384 bytes
Adjusted size of the minimum read buffer to 65536 bytes

*/