a #gssize containing the number of bytes written to the stream.
GException on failure.
See Implementation