Click or drag to resize

ConnectionARead Method (Int32, Boolean)

Reads maxBytesToRead of the available data from the connection.

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

Parameters

maxBytesToRead
Type: SystemInt32
number of bytes to read
exitOnFirstRead
Type: SystemBoolean
true to exit on first data read

Return Value

Type: Byte
the bytes read from the connection.
Exceptions
ExceptionCondition
ConnectionExceptionif an I/O error occurs.
See Also