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