From 69007d3d5fec5d2e831070ab9b99d85ab51cc679 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 30 Aug 2023 16:15:40 -0700 Subject: [PATCH] _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 LUCI-TryBot-Result: Go LUCI Auto-Submit: Ian Lance Taylor Reviewed-by: Dmitri Shuralyov Auto-Submit: Ian Lance Taylor Reviewed-by: Dmitri Shuralyov --- _content/doc/go1.21.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/_content/doc/go1.21.html b/_content/doc/go1.21.html index f9c27f299e..b190c7134f 100644 --- a/_content/doc/go1.21.html +++ b/_content/doc/go1.21.html @@ -725,6 +725,17 @@

Minor changes to the library

+
encoding/binary
+
+

+ The new + NativeEndian + variable may be used to convert between byte slices and integers + using the current machine's native endianness. +

+
+
+
errors