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
IOException
public static int readFully(ReadableByteChannel channel, ByteBuffer buf, int length) throws IOException
IOException
Copyright © 2014. All rights reserved.