]> Cypherpunks repositories - gostls13.git/commit
bytes, strings: add (*Reader).WriteTo
authorEvan Shaw <chickencha@gmail.com>
Fri, 12 Oct 2012 03:43:50 +0000 (14:43 +1100)
committerRob Pike <r@golang.org>
Fri, 12 Oct 2012 03:43:50 +0000 (14:43 +1100)
commiteae25d430d6d6c40e129c50ed4a931858be8ffb4
treee07eb405d280f3a94f7430ec9fcdde865b9655cc
parent06d42690b6ada912bc657435ca4dd962a9413502
bytes, strings: add (*Reader).WriteTo

Fixes #4031.

R=golang-dev, bradfitz, remyoudompheng, r, dave
CC=golang-dev
https://golang.org/cl/6632046
src/pkg/bytes/buffer_test.go
src/pkg/bytes/reader.go
src/pkg/bytes/reader_test.go
src/pkg/strings/reader.go
src/pkg/strings/reader_test.go