Click or drag to resize
ReadBuffer Constructor (ReadAsyncCallback, Int32)
Initializes a new instance of the ReadBuffer class.

Namespace: Lawo.IO
Assembly: Lawo (in Lawo.dll) Version: 1.4.1707.27006
Syntax
C#
public ReadBuffer(
	ReadAsyncCallback readAsync,
	int bufferSize
)

Parameters

readAsync
Type: Lawo.IOReadAsyncCallback
The asynchronous method that is called when the buffer needs to be filled.
bufferSize
Type: SystemInt32
The size of the buffer in bytes.
Exceptions
ExceptionCondition
ArgumentNullExceptionreadAsync equals null.
ArgumentOutOfRangeExceptionbufferSize is 0 or negative.
See Also