summaryrefslogtreecommitdiff
path: root/src/cmd/api/goapi.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2013-01-28 16:31:46 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2013-01-28 16:31:46 -0800
commit91e99c13457109e3571767cae3fc56c472bdd7dc (patch)
tree78d92bd33da4575f4df76288b98e24db0b3c2196 /src/cmd/api/goapi.go
parent55cac5395215c04a6a3c7daf1ede241335da0822 (diff)
downloadgo-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