Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

writeUTF.Java

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:
## S3 method for class 'Java'
writeUTF(static, con, str, ...)

Arguments

con

Binary connection to be written to.

str

String to be written.

Author(s)

Henrik Bengtsson

See Also

For more information see Java.


R.utils

Various Programming Utilities

v2.10.1
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.