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, write
public IOChannel.IOReadableByteChannel(IRubyObject io)
public int read(ByteBuffer dst) throws IOException
read
in interface ReadableByteChannel
IOException
Copyright © 2001-2015 JRuby. All Rights Reserved.