Documentation ¶
Index ¶
- Variables
- func Decode(id sql.CharacterSetID, encoded string) (string, error)
- func DecodeBytes(id sql.CharacterSetID, encoded []byte) ([]byte, error)
- func Encode(id sql.CharacterSetID, utf8 string) (string, error)
- func EncodeBytes(id sql.CharacterSetID, utf8 []byte) ([]byte, error)
- func IsSupported(id sql.CharacterSetID) bool
- func IsSupportedNonUTF8(id sql.CharacterSetID) bool
- func IsUTF8(id sql.CharacterSetID) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupported = errors.New("unsupported charset")
Functions ¶
func DecodeBytes ¶
func DecodeBytes(id sql.CharacterSetID, encoded []byte) ([]byte, error)
func EncodeBytes ¶
func EncodeBytes(id sql.CharacterSetID, utf8 []byte) ([]byte, error)
func IsSupported ¶
func IsSupported(id sql.CharacterSetID) bool
func IsSupportedNonUTF8 ¶
func IsSupportedNonUTF8(id sql.CharacterSetID) bool
func IsUTF8 ¶
func IsUTF8(id sql.CharacterSetID) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.