Write bytes to a NIO channel from the specified buffer Could return 0 if the channel is non-blocking or buffer has no free space
0
number of bytes written (possibly 0)