ConnectionARead(Int32, Boolean) Method
|
Reads maxBytesToRead of the available data from the connection.
Namespace: Zebra.Sdk.CommAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
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 Int32
- number of bytes to read
- exitOnFirstRead Boolean
- true to exit on first data read
Return Value
Bytethe bytes read from the connection.
Exceptions See Also