我读过的评论FileChannel
的transferFrom
* <p> This method is potentially much more efficient than a simple loop
* that reads from the source channel and writes to this channel. Many
* operating systems can transfer bytes directly from the source channel
* into the filesystem cache without actually copying them. </p>
这是什么意思
Many operating systems can transfer bytes directly from the source channel
into the filesystem cache without actually copying them.
如果我从一个通道读取,然后将其写入到另一个通道,不会将其转移字节到缓存?