FileWriter 用于写入字符流。要写入原始字节流,请考虑使用 FileOutputStream。
FileWriter
FileOutputStream
io流相关文档:
https://www.cnblogs.com/albertrui/p/8361643.html
10.2 io流 之字节流和字符流
原文:https://www.cnblogs.com/longesang/p/11057753.html