write


Description:

public virtual ssize_t write (uint8[] buf)

Attempts to write up to buf.length bytes of buf to this.

Parameters:

this

a Stream

buf

buffer

len

buffer length

Returns:

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