Provides implementation for Write(array<Byte>[]()[], Int32, Int32).
Writes length bytes from data starting at offset to the Bluetooth(R) connection.
Namespace:
ZSDK_API.CommWrites length bytes from data starting at offset to the Bluetooth(R) connection.
Assembly: ZSDK_API (in ZSDK_API.dll) Version: 1.1.123.0
Syntax
C# |
---|
public void Write( byte[] data, int offset, int length ) |
Visual Basic (Declaration) |
---|
Public Sub Write ( _ data As Byte(), _ offset As Integer, _ length As Integer _ ) |
Parameters
- data
- Type: array<
System..::.Byte
>[]()[]
The data
- offset
- Type: System..::.Int32
The start offset in the data.
- length
- Type: System..::.Int32
Number of bytes to write.
Implements
ZebraPrinterConnection..::.Write(array<Byte>[]()[], Int32, Int32)Exceptions
Exception | Condition |
---|---|
ZSDK_API.ApiException..::.ZebraPrinterConnectionException | If an I/O error occurs. |
ZSDK_API.ApiException..::.ZebraGeneralException | If the write could not be performed. |