]> Cypherpunks repositories - gostls13.git/commit
encoding/base64, encoding/base32: add doc details to DecodeString and AppendDecode
authorDmytro Yeroshkin <yeroshkin@google.com>
Fri, 6 Dec 2024 15:49:52 +0000 (15:49 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 6 Dec 2024 20:49:45 +0000 (20:49 +0000)
commit35caf4130eafaafb0f30bb4feeeb61ed0df37596
treeb5fc9b1be00e5223fc81d747de0f07a618a20d5e
parentf0b8d79c96be6f8557fd8b42d51996327cf1ecdc
encoding/base64, encoding/base32: add doc details to DecodeString and AppendDecode

Currently only Encoding.Decode has the information that `\r` and
`\n` are ignored. However, this also applies to the other decoding
methods. Since this is not intuitive behavior, we should add this
information to the other impacted methods.

Change-Id: I6f71fe1f4280fe75f2694a3cc1b759652eb8b8c1
Reviewed-on: https://go-review.googlesource.com/c/go/+/634215
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Chris Ingram <chrisingram@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Truc Le <trucleduc@google.com>
src/encoding/base32/base32.go
src/encoding/base64/base64.go