Click or drag to resize

ConnectionARead Method (Int32)

Reads maxBytesToRead of the available data from the connection.

Namespace:  Zebra.Sdk.Comm
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1869
Syntax
public virtual byte[] Read(
	int maxBytesToRead
)

Parameters

maxBytesToRead
Type: SystemInt32
number of bytes to read

Return Value

Type: Byte
the bytes read from the connection
Exceptions
ExceptionCondition
ConnectionExceptionif an I/O error occurs.
Remarks
This call is non-blocking.
See Also