On Wed, Aug 16, 2017 at 7:01 PM, yihao yang <yangyihao1...@gmail.com> wrote: > > I want to take advantage of writev when writing a file. But I didn't find > the interface that accepts a [][]byte parameter. > What can I do?
At present we only support writev to network sockets. You can use it by converting a [][]byte to net.Buffers and calling the WriteTo method. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.