IDataStream.writeString

Overview | Methods | This Package | All Packages

IDataStream.writeString

Writes a length-prefixed Unicode string to this stream.

Syntax

public void writeString( 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

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