Documentation ¶
Index ¶
- Constants
- func Decode(src []byte) ([]byte, error)
- func DecodeString(src string) ([]byte, error)
- func Encode(src []byte) []byte
- func EncodeToString(src []byte) string
- func EncodeUint64ToString(v uint64) string
- func Guess(src []byte) int
- func SetDecoder(dec Decoder)
- func SetEncoder(enc Encoder)
- type Decoder
- type Encoder
Constants ¶
View Source
const ( InvalidEncoding = iota Std URL RawStd RawURL )
Variables ¶
This section is empty.
Functions ¶
func DecodeString ¶
func EncodeToString ¶
func EncodeUint64ToString ¶
func SetDecoder ¶ added in v2.0.10
func SetDecoder(dec Decoder)
func SetEncoder ¶ added in v2.0.10
func SetEncoder(enc Encoder)
Types ¶
Click to show internal directories.
Click to hide internal directories.