diff options
| author | Rob Pike <r@golang.org> | 2015-04-09 16:03:12 -0700 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2015-04-15 15:59:16 +0000 |
| commit | 2c89992f445a631da250517d6f9b9fcd7852872e (patch) | |
| tree | 02e9252258daca674609feabbe5eb465a4ea6c9c /src/runtime/string.go | |
| parent | 888d44d3c16147019bb5a667b40bc68ecf4e7ba3 (diff) | |
| download | go-2c89992f445a631da250517d6f9b9fcd7852872e.tar.xz | |
io: add CopyBuffer, a version of Copy in which the user provides a buffer
This trivial addition to the io package makes it easy to control the
buffer size and allocation properties of io.Copy.
Change-Id: Ica1a6bd015e429d4e655bc0c6f66cea21c454acf
Reviewed-on: https://go-review.googlesource.com/8730
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/runtime/string.go')
0 files changed, 0 insertions, 0 deletions
