DataOutputStream.putString

Puts a string into the output stream.

class DataOutputStream
bool
putString

Parameters

str string

a string.

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore.

Return Value

Type: bool

true if string was successfully added to the stream.