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