Package java.io
Interface DataOutput

Public Method writeUTF

abstract void writeUTF(String value)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Writes a string to the underlying output stream using UTF-8 encoding.

The first two bytes written give the number of bytes to follow, i.e. the number of bytes actually written (not the length of the string).