android中IO流的小总结上

IO流的运用 1,在内存中的读写 1>写入:FileOutputStream fos=this.openFileOutput(文件名,模式); 得到要写入的数据源String str fos.write(str.toByteArray); fos.flush(); fos.close(); 2>读取:FileInputStream fis=this.openFileInput(文件名); Byte
相关文章
相关标签/搜索