Gio.DataOutputStream.prototype.put_string
function put_string(str: String, cancellable: Gio.Cancellable): Boolean {
// Gjs wrapper for g_data_output_stream_put_string()
}
Puts a string into the output stream.
- str
a string.
- cancellable
optional Gio.Cancellable object, null to ignore.
- Returns
true if @string was successfully added to the stream.