Package com.complexible.common.nio
Class Channels2
java.lang.Object
com.complexible.common.nio.Channels2
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidwriteFully(WritableByteChannel channel, ByteBuffer buffer) static voidwriteFullyAtPosition(FileChannel channel, ByteBuffer buffer, long position)
-
Method Details
-
writeFully
- Throws:
IOException
-
writeFullyAtPosition
public static void writeFullyAtPosition(FileChannel channel, ByteBuffer buffer, long position) throws IOException - Throws:
IOException
-