diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2013-01-28 16:31:46 -0800 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2013-01-28 16:31:46 -0800 |
| commit | 91e99c13457109e3571767cae3fc56c472bdd7dc (patch) | |
| tree | 78d92bd33da4575f4df76288b98e24db0b3c2196 /src/cmd/api/goapi.go | |
| parent | 55cac5395215c04a6a3c7daf1ede241335da0822 (diff) | |
| download | go-git-91e99c13457109e3571767cae3fc56c472bdd7dc.tar.gz | |
encoding/json: add Decoder.Buffered accessor to get overread data
Otherwise it's impossible to know how much data from the
json.Decoder's underlying Reader was actually consumed.
The old fix from golang.org/issue/1955 just added docs. This
provides an actual mechanism.
Update #1955
R=golang-dev, adg, rsc
CC=golang-dev
https://golang.org/cl/7181053
Diffstat (limited to 'src/cmd/api/goapi.go')
0 files changed, 0 insertions, 0 deletions
