Documentation
¶
Index ¶
- Constants
- type CorruptInputError
- type Encoding
- func (*Encoding) AppendDecode(dst []byte, src []byte) ([]byte, error)
- func (*Encoding) AppendEncode(dst []byte, src []byte) []byte
- func (*Encoding) Decode(dst []byte, src []byte) (n int, err error)
- func (*Encoding) DecodeString(s string) ([]byte, error)
- func (*Encoding) DecodedLen(n int) int
- func (*Encoding) Encode(dst []byte, src []byte)
- func (*Encoding) EncodeToString(src []byte) string
- func (*Encoding) EncodedLen(n int) int
- func (Encoding) Strict() *Encoding
- func (Encoding) WithPadding(padding rune) *Encoding
Constants ¶
View Source
const NoPadding rune = -1
View Source
const StdPadding rune = 61
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CorruptInputError ¶
type CorruptInputError int64
func (CorruptInputError) Error ¶
func (CorruptInputError) Error() string
type Encoding ¶
type Encoding struct {
// contains filtered or unexported fields
}
var RawStdEncoding *Encoding
var RawURLEncoding *Encoding
var StdEncoding *Encoding
var URLEncoding *Encoding
func NewEncoding ¶
func (*Encoding) AppendDecode ¶
func (*Encoding) DecodedLen ¶
func (*Encoding) EncodeToString ¶
func (*Encoding) EncodedLen ¶
func (Encoding) WithPadding ¶
Click to show internal directories.
Click to hide internal directories.