摘要: IO Streaming "Streaming IO in Go" ,引用此文,略有修改 io.Reader和io.Writer io.Reader接口定义了从传输缓存读取数据 Read方法接受一个[]byte作为读取数据后的接收者,返回读取的字节数n和错误err,当读尽缓存内容时,err为io.E 阅读全文
posted @ 2019-04-17 02:28 yihailin 阅读(907) 评论(0) 推荐(0)