public class ChannelHelper extends Object
| Constructor and Description |
|---|
ChannelHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
readFully(ReadableByteChannel channel,
ByteBuffer buf) |
static int |
readFully(ReadableByteChannel channel,
ByteBuffer buf,
int length) |
public static void readFully(ReadableByteChannel channel, ByteBuffer buf) throws IOException
IOExceptionpublic static int readFully(ReadableByteChannel channel, ByteBuffer buf, int length) throws IOException
IOExceptionCopyright © 2016. All rights reserved.