Learn R Programming

R.utils (version 2.3.0)

Java$writeUTF: Writes a string to a connection in Java format (UTF-8)

Description

Writes a string to a connection in Java format (UTF-8) so it will be readable by Java. At the beginning of each UTF-8 sequence there is a short integer telling how many bytes (characters?) follows.

Usage

## Static method (use this): ## Java$writeUTF(con, str, ...)
## Don't use the below: "writeUTF"(static, con, str, ...)

Arguments

con
Binary connection to be written to.
str
String to be written.

See Also

For more information see Java.