writeAvailable
Convenience function to write as many bytes from source as possible without suspending. Returns the number of bytes that could be written.
Return
the number of bytes that could be written
Parameters
source
the buffer to read data from and write to this channel