Skip to content

Commit

Permalink
_content/doc/go1.21: mention encoding/binary.NativeEndian
Browse files Browse the repository at this point in the history
For golang/go#57237
Fixes golang/go#62349

Change-Id: I2407281b1635e3689f6e225da2ea7f562f321203
Reviewed-on: https://go-review.googlesource.com/c/website/+/524675
Reviewed-by: Ian Lance Taylor <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Auto-Submit: Ian Lance Taylor <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
Auto-Submit: Ian Lance Taylor <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
  • Loading branch information
ianlancetaylor authored and gopherbot committed Aug 31, 2023
1 parent 0daeb8a commit fa6fe8b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions _content/doc/go1.21.html
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,17 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
</dd>
</dl><!-- embed -->

<dl id="encoding/binary"><dt><a href="/pkg/encoding/binary/">encoding/binary</a></dt>
<dd>
<p><!-- https://go.dev/issue/57237, CL 463218, CL 463985 -->
The new
<a href="/pkg/encoding/binary/#NativeEndian"><code>NativeEndian</code></a>
variable may be used to convert between byte slices and integers
using the current machine's native endianness.
</p>
</dd>
</dl><!-- encoding/binary -->

<dl id="errors"><dt><a href="/pkg/errors/">errors</a></dt>
<dd>
<p><!-- https://go.dev/issue/41198, CL 473935 -->
Expand Down

0 comments on commit fa6fe8b

Please sign in to comment.