Click or drag to resize

ConnectionRead Method

The Read method is provided for compatibility with the Stream base class; it behaves identically to Receive. It will block until the entire buffer is filled or the connection has been closed.

Namespace: Crestron.SimplSharp.Net
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public override int Read(
	byte[] aBuffer,
	int aOffset,
	int aCount
)

Parameters

aBuffer  Byte
System.Byte array to receive the bytes read.
aOffset  Int32
Starting offset in the byte array.
aCount  Int32
Count of bytes to use in the byte array

Return Value

Int32
Returns the number of bytes read.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also