com.coremedia.iso
Class ChannelHelper
java.lang.Object
com.coremedia.iso.ChannelHelper
public class ChannelHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelHelper
public ChannelHelper()
readFully
public static ByteBuffer readFully(ReadableByteChannel channel,
long size)
throws IOException
- Throws:
IOException
readFully
public static void readFully(ReadableByteChannel channel,
ByteBuffer buf)
throws IOException
- Throws:
IOException
readFully
public static int readFully(ReadableByteChannel channel,
ByteBuffer buf,
int length)
throws IOException
- Throws:
IOException
writeFully
public static void writeFully(WritableByteChannel channel,
ByteBuffer buf)
throws IOException
- Throws:
IOException
close
public static void close(SelectionKey key)
Copyright © 2012. All Rights Reserved.