Method Summary |
|
void | flush() Flushes write buffer to the conection. |
byte | readByte() Reads 1-byte value from the connection. |
byte[] | readBytes(int size) Reads given number of bytes from the connection.
Parameters: size - number of bytes to read. |
void | writeByte(long data) Writes 1-byte data to the connection. |
void | writeBytes(byte[] data) Writes given data to the connection. |