Attempts to write up to buf.length
bytes of buf
to this.
this |
a Stream |
buf |
buffer |
len |
buffer length |
the number of bytes written or %-1 on fail. |