write_string


Description:

public ssize_t write_string (string string, Cancellable? cancellable = null) throws Error

Writes the string to the stream.

Parameters:

this

a Stream object

string

a string

cancellable

optional Cancellable object, or null

Returns:

the number of characters written or -1 on error.