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