Documentation ¶ Index ¶ Constants func ConvertByte2String(byte []byte, charset Charset) string func ConvertToString(src string, srcCode string, tagCode string) string func GetBytes(data []byte, charset Charset) (cdata []byte, err error) func GetBytes0(data []byte, charset Charset) ([]byte, error) type Charset Constants ¶ View Source const ( UTF8 = Charset("UTF-8") GB18030 = Charset("GB18030") GBK = Charset("GBK") ) Variables ¶ This section is empty. Functions ¶ func ConvertByte2String ¶ func ConvertByte2String(byte []byte, charset Charset) string func ConvertToString ¶ func ConvertToString(src string, srcCode string, tagCode string) string func GetBytes ¶ func GetBytes(data []byte, charset Charset) (cdata []byte, err error) func GetBytes0 ¶ func GetBytes0(data []byte, charset Charset) ([]byte, error) Types ¶ type Charset ¶ type Charset = string Source Files ¶ View all Source files transform.go Click to show internal directories. Click to hide internal directories.