]> Cypherpunks repositories - gostls13.git/commit
bytes: add Reader
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 15 Feb 2012 00:06:16 +0000 (11:06 +1100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 15 Feb 2012 00:06:16 +0000 (11:06 +1100)
commit977e8d145bca078936176f73f884bb4b7da037b7
tree5f9fb6ec5ea40de28bb0b443721d7da166a3a9df
parentc210ddfe2c881835a283346e8fa498a777ea8af7
bytes: add Reader

copy of strings/reader{,_test}.go with
a few s/string/[]byte/

Fixes #2861

R=adg, rsc, r
CC=golang-dev
https://golang.org/cl/5666044
src/pkg/bytes/reader.go [new file with mode: 0644]
src/pkg/bytes/reader_test.go [new file with mode: 0644]