Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + const NoPadding + const StdPadding + var RawStdEncoding = StdEncoding.WithPadding(NoPadding) + var RawURLEncoding = URLEncoding.WithPadding(NoPadding) + var StdEncoding = NewEncoding(encodeStd) + var URLEncoding = NewEncoding(encodeURL) + func NewDecoder(enc *Encoding, r io.Reader) io.Reader + func NewEncoder(enc *Encoding, w io.Writer) io.WriteCloser + type CorruptInputError int64 + func (e CorruptInputError) Error() string + type Encoding struct + func NewEncoding(encoder string) *Encoding + func (enc *Encoding) Decode(dst, src []byte) (n int, err error) + func (enc *Encoding) DecodeString(s string) ([]byte, error) + func (enc *Encoding) DecodedLen(n int) int + func (enc *Encoding) Encode(dst, src []byte) + func (enc *Encoding) EncodeToString(src []byte) string + func (enc *Encoding) EncodedLen(n int) int + func (enc Encoding) Strict() *Encoding + func (enc Encoding) WithPadding(padding rune) *Encoding