11 lines
153 B
Go
11 lines
153 B
Go
|
// +build go1.8
|
||
|
|
||
|
package capnp
|
||
|
|
||
|
import "net"
|
||
|
|
||
|
func (e *Encoder) write(bufs [][]byte) error {
|
||
|
_, err := (*net.Buffers)(&bufs).WriteTo(e.w)
|
||
|
return err
|
||
|
}
|