DataOutputStream.putString

Puts a string into the output stream.

class DataOutputStream
bool
putString

Parameters

str string

a string.

cancellable Cancellable

optional gio.Cancellable object, NULL to ignore.

Return Value

Type: bool

TRUE if string was successfully added to the stream.

Throws

GException on failure.