Stream.writeString

Writes string to stream.

class Stream
ptrdiff_t
writeString
(
string str
)

Parameters

str string

string to write

Return Value

Type: ptrdiff_t

the number of bytes written or %-1 on fail.