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.14.1869
Syntax public virtual byte[] Read(
int maxBytesToRead,
bool exitOnFirstRead
)
Public Overridable Function Read (
maxBytesToRead As Integer,
exitOnFirstRead As Boolean
) As Byte()
public:
virtual array<unsigned char>^ 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:
Bytethe bytes read from the connection.
Exceptions See Also