Click or drag to resize
ReadBufferRead Method (Byte, Int32, Int32)
Reads bytes from the buffer by calling the callback specified during construction at most once.

Namespace: Lawo.IO
Assembly: Lawo (in Lawo.dll) Version: 1.4.1707.27006
Syntax
C#
public int Read(
	byte[] buffer,
	int offset,
	int count
)

Parameters

buffer
Type: SystemByte
offset
Type: SystemInt32
count
Type: SystemInt32

Return Value

Type: Int32
Exceptions
ExceptionCondition
ArgumentExceptionThe length of buffer is less than offset plus count.
ArgumentNullExceptionbuffer equals null.
ArgumentOutOfRangeExceptionoffset and/or count are negative.
InvalidOperationExceptionThe ReadBuffer object was created by calling ReadBuffer(ReadAsyncCallback, Int32).
Remarks
The callback specified during construction is only called if Index equals Count.
See Also