DataOutputStream.putString

bool putString(string str, gio.cancellable.Cancellable cancellable = null)

Puts a string into the output stream.

Parameters

stra string.
cancellableoptional #GCancellable object, null to ignore.

Returns

true if string was successfully added to the stream.

Throws

[ErrorWrap]