go/src/encoding/base32
Ian Lance Taylor 7b0fdd1323 encoding/base32, encoding/base64: document Decode to short buffer
Document that if one of the Decode methods in these packages is given
a short buffer, it panics.

Fixes #69024

Change-Id: I1c0e4c74274965c1cfa0422cc8f86af4fefb1d00
Reviewed-on: https://go-review.googlesource.com/c/go/+/607499
Auto-Submit: Ian Lance Taylor <iant@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2024-08-30 19:38:50 +00:00
..
base32.go encoding/base32, encoding/base64: document Decode to short buffer 2024-08-30 19:38:50 +00:00
base32_test.go encoding/base32: use correct length for unpadded buffer in Read 2024-05-14 16:25:54 +00:00
example_test.go