Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Like other have said, use FileChannel.transferTo() or FileChannel.transferFrom(). The key advantage here is that the JVM uses the OS's access to DMA (Direct Memory Access)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment