public class NullChannel extends Object implements WritableByteChannel, ReadableByteChannel
| Constructor and Description | 
|---|
| NullChannel() | 
public int write(ByteBuffer buffer) throws IOException
write in interface WritableByteChannelIOExceptionpublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionpublic int read(ByteBuffer dst) throws IOException
read in interface ReadableByteChannelIOExceptionCopyright © 2001-2015 JRuby. All Rights Reserved.