public static class IOChannel.IOReadableWritableByteChannel extends IOChannel implements ReadableByteChannel, WritableByteChannel
IOChannel.IOReadableByteChannel, IOChannel.IOReadableWritableByteChannel, IOChannel.IOWritableByteChannel| Constructor and Description |
|---|
IOChannel.IOReadableWritableByteChannel(IRubyObject io) |
| Modifier and Type | Method and Description |
|---|---|
int |
read(ByteBuffer dst) |
int |
write(ByteBuffer src) |
close, initReadSite, initWriteSite, isOpen, read, writepublic IOChannel.IOReadableWritableByteChannel(IRubyObject io)
public int read(ByteBuffer dst) throws IOException
read in interface ReadableByteChannelIOExceptionpublic int write(ByteBuffer src) throws IOException
write in interface WritableByteChannelIOExceptionCopyright © 2001-2015 JRuby. All Rights Reserved.