HeapByteBuffer:
DirectByteBuffer:
MappedByteBuffer:
Zero-copy:
FileChannel.transferTo():
FileChannel.transferFrom():
Memory mapping:
FileChannel.map():
HeapByteBuffer:
DirectByteBuffer:
MappedByteBuffer:
Zero-copy:
FileChannel.transferTo():
FileChannel.transferFrom():
Memory mapping:
FileChannel.map():