其他分享
首页 > 其他分享> > golang io.copy

golang io.copy

作者:互联网

// 复制 采用系统默认缓冲区大小
func Copy(dst Writer, src Reader) (written int64, err error){}
// 复制 自定义缓冲区大小
func CopyBuffer(dst Writer, src Reader, buf []byte) (written int64, err error) {}

标签:src,func,dst,Writer,golang,written,io,Reader,copy
来源: https://www.cnblogs.com/rincloud/p/16262018.html