]> Cypherpunks repositories - gostls13.git/commit
io: let SectionReader seek past the end; document Seeker semantics more
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 18 Jul 2013 03:03:26 +0000 (13:03 +1000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 18 Jul 2013 03:03:26 +0000 (13:03 +1000)
commit39100543ff629ef82bb814a03c6582f7158204a8
treeb5e5992c8e04a2e1a3a1e52a79866a64b6b96dbe
parenta6f95ad34ea6b8c450a126d5fd783a8fc6e9d953
io: let SectionReader seek past the end; document Seeker semantics more

Be consistent with os.File, strings.Reader, bytes.Reader, etc,
which all allow seeks past the end.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/11403043
src/pkg/io/io.go
src/pkg/io/io_test.go