mirror of
https://github.com/golang/go.git
synced 2026-04-19 10:20:26 +00:00
This change fixed the overlooked offset in bytes.Buffer.Peek.
Otherwise, it will either return wrong result or panic with
"runtime error: slice bounds out of range".
Change-Id: Ic42fd8a27fb9703c51430f298933b91cf0d45451
GitHub-Last-Rev:
|
||
|---|---|---|
| .. | ||
| boundary_test.go | ||
| buffer.go | ||
| buffer_test.go | ||
| bytes.go | ||
| bytes_js_wasm_test.go | ||
| bytes_test.go | ||
| compare_test.go | ||
| example_test.go | ||
| export_test.go | ||
| iter.go | ||
| iter_test.go | ||
| reader.go | ||
| reader_test.go | ||