2020年4月29日

使用os.WriteAt 分块写入数据

摘要: 最近在写一个并发写入数据到文件的功能。使用到os.WriteAt方法 先看下官方给的文档 func (*File) WriteAt ¶ func (f *File) WriteAt(b []byte, off int64) (n int, err error) WriteAt在指定的位置(相对于文件 阅读全文

posted @ 2020-04-29 10:59 thotf 阅读(1331) 评论(0) 推荐(0)

导航