_content/doc/go1.21: mention encoding/binary.NativeEndian

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>
This commit is contained in:
Ian Lance Taylor 2023-08-30 16:15:40 -07:00 коммит произвёл Gopher Robot
Родитель 0daeb8a107
Коммит fa6fe8b9e9
1 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -725,6 +725,17 @@ Do not send CLs removing the interior tags from such phrases.
</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 -->