public static class IOChannel.IOReadableByteChannel extends IOChannel implements java.nio.channels.ReadableByteChannel
ReadableByteChannel
wrapper around an IO-like Ruby object.IOChannel.IOReadableByteChannel, IOChannel.IOReadableWritableByteChannel, IOChannel.IOWritableByteChannel
Constructor and Description |
---|
IOReadableByteChannel(IRubyObject io) |
IOReadableByteChannel(IRubyObject io,
java.lang.String readMethod) |
Modifier and Type | Method and Description |
---|---|
int |
read(java.nio.ByteBuffer dst) |
close, initReadSite, initWriteSite, isOpen, read, write
public IOReadableByteChannel(IRubyObject io)
public IOReadableByteChannel(IRubyObject io, java.lang.String readMethod)
Copyright © 2001-2018 JRuby. All Rights Reserved.