Documentation ¶
Index ¶
Constants ¶
View Source
const MB_ERR_INVALID_CHARS = 8
Code generated by go-importconst DO NOT EDIT.
Variables ¶
This section is empty.
Functions ¶
func IsDBCSLeadByte ¶
func ToWideChar ¶
Types ¶
type DBCSEncoding ¶
type DBCSEncoding struct{}
func (DBCSEncoding) Decode ¶
func (DBCSEncoding) Decode(data []byte) rune
func (DBCSEncoding) EncodeFromString ¶
func (DBCSEncoding) EncodeFromString(s string) ([]byte, error)
func (DBCSEncoding) ModeString ¶
func (DBCSEncoding) ModeString() string
type Encoding ¶
type UTF8Encoding ¶
type UTF8Encoding struct{}
func (UTF8Encoding) Decode ¶
func (UTF8Encoding) Decode(data []byte) rune
func (UTF8Encoding) EncodeFromString ¶
func (UTF8Encoding) EncodeFromString(s string) ([]byte, error)
func (UTF8Encoding) ModeString ¶
func (UTF8Encoding) ModeString() string
Click to show internal directories.
Click to hide internal directories.