Documentation ¶
Index ¶
- type Charset_8bit
- type Charset_binary
- func (c Charset_binary) Convert(_, in []byte, _ types.Charset) ([]byte, error)
- func (c Charset_binary) DecodeRune(bytes []byte) (rune, int)
- func (c Charset_binary) EncodeRune(dst []byte, r rune) int
- func (Charset_binary) IsSuperset(_ types.Charset) bool
- func (Charset_binary) Name() string
- func (Charset_binary) SupportsSupplementaryChars() bool
- type Charset_latin1
- type UnicodeMapping
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Charset_8bit ¶
type Charset_8bit struct { Name_ string ToUnicode *[256]uint16 FromUnicode []UnicodeMapping }
func (*Charset_8bit) DecodeRune ¶
func (e *Charset_8bit) DecodeRune(bytes []byte) (rune, int)
func (*Charset_8bit) EncodeRune ¶
func (e *Charset_8bit) EncodeRune(dst []byte, r rune) int
func (*Charset_8bit) IsSuperset ¶
func (e *Charset_8bit) IsSuperset(other types.Charset) bool
func (*Charset_8bit) Name ¶
func (e *Charset_8bit) Name() string
func (*Charset_8bit) SupportsSupplementaryChars ¶
func (e *Charset_8bit) SupportsSupplementaryChars() bool
type Charset_binary ¶
type Charset_binary struct{}
func (Charset_binary) DecodeRune ¶
func (c Charset_binary) DecodeRune(bytes []byte) (rune, int)
func (Charset_binary) EncodeRune ¶
func (c Charset_binary) EncodeRune(dst []byte, r rune) int
func (Charset_binary) IsSuperset ¶
func (Charset_binary) IsSuperset(_ types.Charset) bool
func (Charset_binary) Name ¶
func (Charset_binary) Name() string
func (Charset_binary) SupportsSupplementaryChars ¶
func (Charset_binary) SupportsSupplementaryChars() bool
type Charset_latin1 ¶
type Charset_latin1 struct{}
func (Charset_latin1) DecodeRune ¶
func (Charset_latin1) DecodeRune(src []byte) (rune, int)
func (Charset_latin1) EncodeRune ¶
func (Charset_latin1) EncodeRune(dst []byte, r rune) int
func (Charset_latin1) IsSuperset ¶
func (Charset_latin1) IsSuperset(other types.Charset) bool
func (Charset_latin1) Name ¶
func (Charset_latin1) Name() string
func (Charset_latin1) SupportsSupplementaryChars ¶
func (Charset_latin1) SupportsSupplementaryChars() bool
type UnicodeMapping ¶
Click to show internal directories.
Click to hide internal directories.