]> Cypherpunks repositories - gostls13.git/commit
bytes: add Buffer.Peek
authorIlia Choly <ilia.choly@gmail.com>
Fri, 31 Oct 2025 20:11:04 +0000 (20:11 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 3 Nov 2025 17:39:00 +0000 (09:39 -0800)
commit5132158ac2dee721790ad4b9f745bb6364406ea0
treec57251c591ec8b1a095d91c5cbeb1078aa55b1f5
parent361d51a6b58bccaab0559e06737c918018a7a5fa
bytes: add Buffer.Peek

Fixes #73794

Change-Id: I0a57db05aacfa805213fe8278fc727e76eb8a65e
GitHub-Last-Rev: 3494d93f803f21905dfd5a9d593644da69279f16
GitHub-Pull-Request: golang/go#73795
Reviewed-on: https://go-review.googlesource.com/c/go/+/674415
Reviewed-by: Sean Liao <sean@liao.dev>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
api/next/73794.txt [new file with mode: 0644]
doc/next/6-stdlib/99-minor/bytes/73794.md [new file with mode: 0644]
src/bytes/buffer.go
src/bytes/buffer_test.go