Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 GO-2024-3106 GO-2024-3106: Stack exhaustion in Decoder.Decode in encoding/gob Changes in this version + func Register(value any) + func RegisterName(name string, value any) + type CommonType struct + Id typeId + Name string + type Decoder struct + func NewDecoder(r io.Reader) *Decoder + func (dec *Decoder) Decode(e any) error + func (dec *Decoder) DecodeValue(v reflect.Value) error + type Encoder struct + func NewEncoder(w io.Writer) *Encoder + func (enc *Encoder) Encode(e any) error + func (enc *Encoder) EncodeValue(value reflect.Value) error + type GobDecoder interface + GobDecode func([]byte) error + type GobEncoder interface + GobEncode func() ([]byte, error)