From: Ian Lance Taylor Date: Wed, 31 May 2023 18:47:14 +0000 (-0700) Subject: doc/go1.21: document new bytes.Buffer methods X-Git-Tag: go1.21rc1~161 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3cea9e688100aa4db2f459dc77f6ce22dacf1d87;p=gostls13.git doc/go1.21: document new bytes.Buffer methods For #53685 Change-Id: I237297d19afeb36ad738074d0c61caa7012f65ac Reviewed-on: https://go-review.googlesource.com/c/go/+/499617 Reviewed-by: Eli Bendersky Auto-Submit: Ian Lance Taylor Reviewed-by: Ian Lance Taylor TryBot-Bypass: Ian Lance Taylor --- diff --git a/doc/go1.21.html b/doc/go1.21.html index 76f5451a0e..a80d11bbc5 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -333,12 +333,14 @@ Do not send CLs removing the interior tags from such phrases.
bytes
-

- TODO: https://go.dev/issue/53685: add Buffer.Available and Buffer.AvailableBuffer -

- -

- TODO: https://go.dev/cl/474635: bytes: add Buffer.Available and Buffer.AvailableBuffer; modified api/next/53685.txt +

+ The Buffer type + has two new methods: + Available + and AvailableBuffer. + These may be used along with the + Write + method to append directly to the Buffer.