readJavaUTF: Deprecated. Reads a Java (UTF-8) formatted string from a...

Description Usage Arguments Details Value Author(s) See Also

Description

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

Usage

1
2
## Default S3 method:
readJavaUTF(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 R character string before returned, otherwise an integer vector representation of the Unicode string is returned.

Details

Currently only 8-bit UTF-8 byte sequences are supported, i.e. plain ASCII sequences.

Value

Returns a character string or an integer vector.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

readBin(). readJavaShort(), readJavaInt(), readJavaUTF().


HenrikBengtsson/R.io documentation built on May 6, 2019, 11:54 p.m.