go/src/encoding
Roland Shoemaker 7e3d2aa69f encoding/asn1: make sure implicit fields roundtrip
Make sure Marshal and Unmarshal support the same field tags for implicit
encoding choices. In particular this adds support for Unmarshalling
implicitly tagged GeneralizedTime fields. Also add tests and update the
docs.

Fixes #72078

Change-Id: I21465ee4bcd73a7db0d0c36b2df53cabfc480185
Reviewed-on: https://go-review.googlesource.com/c/go/+/654275
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2025-03-14 11:40:43 -07:00
..
ascii85 encoding: modernize Go documentation 2023-09-08 19:04:28 +00:00
asn1 encoding/asn1: make sure implicit fields roundtrip 2025-03-14 11:40:43 -07:00
base32 encoding/base64, encoding/base32: add doc details to DecodeString and AppendDecode 2024-12-06 20:49:45 +00:00
base64 encoding/base64: use internal/byteorder 2025-02-06 16:40:55 -08:00
binary encoding/binary: add documentation for endian methods 2024-12-30 12:32:26 -08:00
csv encoding: use slices and maps to clean up tests 2024-07-25 00:23:58 +00:00
gob all: replace reflect.Value.Type.Kind with reflect.Value.Kind 2025-02-03 10:30:40 -08:00
hex encoding/hex: don't overallocate memory in DecodeString 2024-05-08 19:30:23 +00:00
json encoding/json: use builtin min function in appendString 2025-02-25 11:49:13 -08:00
pem encoding/pem: clarify Decode only works on lines 2025-03-05 07:57:03 -08:00
xml all: replace reflect.Value.Type.Kind with reflect.Value.Kind 2025-02-03 10:30:40 -08:00
encoding.go encoding: add TextAppender and BinaryAppender 2024-07-30 14:22:50 +00:00