最佳答案
您误读了文档。
当文档声明时:
This stream is not buffered.
...它们指的是 FileOutputStream
本身,而不是示例代码。
因此文档中的下一行:
Most callers should wrap this stream with a
BufferedOutputStream
.
关于java - 为什么Outputstream = new BufferedOutputStream没有缓冲?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11983351/