You can point it at another file quite easily; it's a bit harder to, for instance, read from a buffer.
您可以非常简单地将它指向另外一个文件;从缓冲区中进行读取稍微有些困难。
Further, applications that might benefit from having a file system read ahead or high buffer cache hit rates might actually see performance degradation.
而且,对于那些受益于文件系统预读功能或者较高缓冲区缓存命中率的应用程序,可能会出现性能的降低。
The transferTo() method causes the file contents to be copied into a read buffer by the DMA engine.
transferTo() 方法引发 DMA 引擎将文件内容拷贝到一个读取缓冲区。
应用推荐