FileInputStream/FileOutputStream的笔记:
/**(FileInputStream/FileOutputStream四个步骤: ①声明②加载地址③read/write④close流) * FileInputStream fis * 1.public int read( byte[] b, int off, int len) throws IOException * //从fis流读取字符, 后两项规定存储位置(左闭右开);默认最多b.length字节的数据到字节数组 * //int 返回值表示每次读取的字符的Byte 个数. * FileOutputStream fos * 1.输出的物理文件可以不存在,若不存在则可以自动创建!若存在,则会进行覆盖! * 2.public FileOutputStream(String name,boolean append) throws FileNotFoundException * //如果第二个参数是true ,则字节将写入文件的末尾而不是开头。 (