Reads/writes data from/to an io stream, populating/consuming data[0 .. bytes].
type of stream; must be either InputStream or OutputStream
stream to read from / write to
pointer to data buffer
data buffer length (bytes)
number of bytes transmitted
EofException on End Of Flow condition (note that the exception is always newed)
See Implementation
Reads/writes data from/to an io stream, populating/consuming data[0 .. bytes].