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