readUTF.Java

0th

Percentile

Reads a Java (UTF-8) formatted string from a connection

Reads a Java (UTF-8) formatted string from a connection.

Keywords
methods, internal
Usage
Java$readUTF(con, as.character=TRUE, ...)
Arguments
con
Binary connection to be read from.
as.character
If TRUE, the read string converted, i.e. translated, into an Rcharacter string before returned, otherwise an integer vector representation of the Unicode string is returned.
...
Not used.
Details

Currently only 8-bit UTF-8 byte sequences are supported, i.e. plain ASCII sequences, i.e. characters that take up more than one byte are read incorrectly without any warnings.

Value

synopsis

readUTF.Java(static, con, as.character=TRUE, ...)

See Also

readBin(). For more information see Java.

Aliases
  • readUTF.Java
  • Java.readUTF
  • readUTF.Java
  • readUTF,Java-method
Documentation reproduced from package R.utils, version 1.6.1, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.