Versions in this module Expand all Collapse all v0 v0.6.4 Feb 19, 2022 Changes in this version + const MB_ERR_INVALID_CHARS + func IsDBCSLeadByte(b byte) bool + func ToWideChar(bytes ...byte) ([]uint16, error) + type DBCSEncoding struct + func (DBCSEncoding) Count(value byte, _ int64) int + func (DBCSEncoding) Decode(data []byte) rune + func (DBCSEncoding) EncodeFromString(s string) ([]byte, error) + func (DBCSEncoding) ModeString() string + func (DBCSEncoding) RuneOver(cursor Pointer) (rune, int, int) + type Encoding interface + Count func(value byte, at int64) int + Decode func([]byte) rune + EncodeFromString func(string) ([]byte, error) + ModeString func() string + RuneOver func(Pointer) (rune, int, int) + func UTF16BE() Encoding + func UTF16LE() Encoding + type Pointer interface + Address func() int64 + Next func() error + Prev func() error + Value func() byte + type UTF8Encoding struct + func (UTF8Encoding) Count(b byte, _ int64) int + func (UTF8Encoding) Decode(data []byte) rune + func (UTF8Encoding) EncodeFromString(s string) ([]byte, error) + func (UTF8Encoding) ModeString() string + func (enc UTF8Encoding) RuneOver(cursor Pointer) (rune, int, int)