Tells whether or not this channel is open.
Reads data from this channel into buffer, returning the number of bytes read.
Reads data from this channel into buffer, returning the number of bytes read.
Fails with java.io.EOFException
if end-of-stream is reached.
Writes data into this channel from buffer, returning the number of bytes written.