IDataStream.writeUTF

Overview | Methods | This Package | All Packages

IDataStream.writeUTF

Writes a string to this stream using a length-prefixed UTF-8 format.

Syntax

public void writeUTF( String value )

Parameters

value

The string value to write.

Exceptions

IOException thrown if an I/O error occurs or if the stream does not support writing.

Remarks

UTF-encoded strings are generally more space efficient than Unicode strings, but they also take more time to process.

See Also   readUTF