Package comm
Class Comm

Public Method write

int write(byte value)

Throws:

int write(byte[] buf)

Throws:

int write(byte[] buf, int offset, int len)

Throws:

int write(String value)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

write(byte value) method:

Parameter Description
value byte that should be sent

Transmits a single byte.

write(byte[] source, int offs, int count) method:

Parameter Description
source byte array to be sent
offs offset to the first data byte
count number of the data byte

Transmits count bytes of the array source. The offs paramter specifies the offset to the first byte in the source byte array.

write(String source) method:

Parameter Description
source String to be sent

Transmits the string source.