characterlist

package
v0.0.0-...-e520b77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// 成功
	SUCCESS = State(iota)
	// 含非法字节
	INVALID_CHAR
	// 空间不足
	NO_ROOM
	// 顺序状态
	ORDERS
)

Variables

This section is empty.

Functions

func NCharset

func NCharset(c *Charset)

Types

type Charset

type Charset struct {
	Name             string
	StandardizeNames []string
	Decoders         map[string]interface{}
	Encoders         map[string]interface{}
}

func GetCharset

func GetCharset(n string) *Charset

获取字符集

type Converter

type Converter interface {
	ToString([]byte) string
	// contains filtered or unexported methods
}

func NConverter

func NConverter(n string) Converter

type State

type State int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL