Click or drag to resize

ConnectionARead(Int32, Boolean) Method

Reads maxBytesToRead of the available data from the connection.

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

Parameters

maxBytesToRead  Int32
number of bytes to read
exitOnFirstRead  Boolean
true to exit on first data read

Return Value

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