File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -333,12 +333,14 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
333
333
334
334
< dl id ="bytes "> < dt > < a href ="/pkg/bytes/ "> bytes</ a > </ dt >
335
335
< dd >
336
- < p > <!-- https://go.dev/issue/53685 -->
337
- TODO: < a href ="https://go.dev/issue/53685 "> https://go.dev/issue/53685</ a > : add Buffer.Available and Buffer.AvailableBuffer
338
- </ p >
339
-
340
- < p > <!-- CL 474635 -->
341
- TODO: < a href ="https://go.dev/cl/474635 "> https://go.dev/cl/474635</ a > : bytes: add Buffer.Available and Buffer.AvailableBuffer; modified api/next/53685.txt
336
+ < p > <!-- https://go.dev/issue/53685, CL 474635 -->
337
+ The < a href ="/pkg/bytes/#Buffer "> < code > Buffer</ code > </ a > type
338
+ has two new methods:
339
+ < a href ="/pkg/bytes/#Buffer.Available "> < code > Available</ code > </ a >
340
+ and < a href ="/pkg/bytes/#AvailableBuffer "> < code > AvailableBuffer</ code > </ a > .
341
+ These may be used along with the
342
+ < a href ="/pkg/bytes/#Buffer.Write "> < code > Write</ code > </ a >
343
+ method to append directly to the < code > Buffer</ code > .
342
344
</ p >
343
345
</ dd >
344
346
</ dl > <!-- bytes -->
You can’t perform that action at this time.
0 commit comments