Lines Matching refs:Writer
81 // Writer is the interface that wraps the basic Write method.
90 type Writer interface {
122 Writer
133 Writer
140 Writer
152 Writer
159 Writer
182 WriteTo(w Writer) (n int64, err error)
287 func WriteString(w Writer, s string) (n int, err error) {
335 func CopyN(dst Writer, src Reader, n int64) (written int64, err error) {
359 func Copy(dst Writer, src Reader) (written int64, err error) {
367 func CopyBuffer(dst Writer, src Reader, buf []byte) (written int64, err error) {
376 func copyBuffer(dst Writer, src Reader, buf []byte) (written int64, err error) {
382 // Similarly, if the writer has a ReadFrom method, use it to do the copy.
513 func TeeReader(r Reader, w Writer) Reader {
519 w Writer