1
0
mirror of https://github.com/golang/go synced 2024-10-03 03:11:21 -06:00
go/src/pkg/io
Evan Shaw cf3eeb2984 io.WriteString: if the object has a WriteString method, use it
This avoids allocation when writing to bytes.Buffers and bufio.Writers, for
example.

R=golang-dev, rsc, r, consalus, r
CC=golang-dev
https://golang.org/cl/4625068
2011-06-28 16:10:39 +10:00
..
ioutil io/ioutil: fix typo in comment 2011-06-10 17:07:22 -07:00
io_test.go io: fixes for Read with n > 0, os.EOF 2011-04-08 13:45:56 -04:00
io.go io.WriteString: if the object has a WriteString method, use it 2011-06-28 16:10:39 +10:00
Makefile build: no required environment variables 2010-08-18 10:08:49 -04:00
multi_test.go http: fix transport bug with zero-length bodies 2011-05-11 12:11:32 -07:00
multi.go io: fixes for Read with n > 0, os.EOF 2011-04-08 13:45:56 -04:00
pipe_test.go gofmt -s -w src misc 2010-10-22 10:06:33 -07:00
pipe.go io: reimplement Pipe 2011-03-07 10:37:28 -05:00