go/src/encoding/binary
Constantin Konstantinidis 2afaa01855 encoding/binary: add word size to the error message of the failed constraint
Test added.

Fixes #22860

Change-Id: I08304834a2b7b10b4ac729bf36761692eb4731da
Reviewed-on: https://go-review.googlesource.com/c/go/+/113075
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-04-04 22:12:53 +00:00
..
binary.go encoding/binary: add word size to the error message of the failed constraint 2023-04-04 22:12:53 +00:00
binary_test.go encoding/binary: add word size to the error message of the failed constraint 2023-04-04 22:12:53 +00:00
example_test.go
native_endian_big.go encoding/binary: add var NativeEndian 2023-01-27 18:17:20 +00:00
native_endian_little.go encoding/binary: add var NativeEndian 2023-01-27 18:17:20 +00:00
varint.go src: rename unexported errors by adding prefix err 2023-02-16 23:09:19 +00:00
varint_test.go src: rename unexported errors by adding prefix err 2023-02-16 23:09:19 +00:00