先用ByteArrayOutputStream将内容写入数组,然后用FileOutputStream将数组的内容写入文件。
写文件要用FileOutputStream吧?ByteArrayOutputStream是把你要写的东西写到一个ByteArray的意思.
gssghdhfhfhfghhhd