Writes a length-prefixed Unicode string to this stream.
public void writeString( String value )
value
The string value to write.
IOException thrown if an I/O error occurs or if the stream does not support writing.
This method first writes the length of the string as a 32-bit unsigned integer and then writes that many 16-bit Unicode characters to the stream.
See Also readString