我已经阅读了关于FileChannel
's的评论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.
如果我从一个通道读取然后将其写入另一个通道,它不会将字节传输到缓存中吗?