摘要: package main import ( "bufio" "fmt" "io" "os" ) /* ·使用缓冲读写实现视频文件的拷贝; */ func main() { //报路径参数错误时【file name,directory name,or volumn label syntax is incorrect】,手动重写一下路径 /*打开源文件和目标文件*/ srcFile, err1 := 阅读全文
posted @ 2019-11-30 21:45 Ethan_Cheng 阅读(589) 评论(0) 推荐(0) 编辑
摘要: 缓冲式写入文件 便携式写入文件 判断文件是否存在 阅读全文
posted @ 2019-11-30 17:05 Ethan_Cheng 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 打开文件 缓冲式读文件 使用ioutil包下的API进行便捷的读取 阅读全文
posted @ 2019-11-30 16:11 Ethan_Cheng 阅读(214) 评论(0) 推荐(0) 编辑