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 <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
  • Loading branch information
ianlancetaylor authored and willpoint committed Oct 12, 2023
1 parent e5787a0 commit 69007d3
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 69007d3

Please sign in to comment.