unicode

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Charset_ucs2

type Charset_ucs2 struct{}

func (Charset_ucs2) DecodeRune

func (Charset_ucs2) DecodeRune(p []byte) (rune, int)

func (Charset_ucs2) EncodeRune

func (Charset_ucs2) EncodeRune(dst []byte, r rune) int

func (Charset_ucs2) IsSuperset

func (Charset_ucs2) IsSuperset(other types.Charset) bool

func (Charset_ucs2) Length added in v0.16.0

func (Charset_ucs2) Length(src []byte) int

func (Charset_ucs2) Name

func (Charset_ucs2) Name() string

func (Charset_ucs2) SupportsSupplementaryChars

func (Charset_ucs2) SupportsSupplementaryChars() bool

type Charset_utf16be

type Charset_utf16be struct{}

func (Charset_utf16be) DecodeRune

func (Charset_utf16be) DecodeRune(b []byte) (rune, int)

func (Charset_utf16be) EncodeRune

func (Charset_utf16be) EncodeRune(dst []byte, r rune) int

func (Charset_utf16be) IsSuperset

func (Charset_utf16be) IsSuperset(other types.Charset) bool

func (Charset_utf16be) Name

func (Charset_utf16be) Name() string

func (Charset_utf16be) SupportsSupplementaryChars

func (Charset_utf16be) SupportsSupplementaryChars() bool

type Charset_utf16le

type Charset_utf16le struct{}

func (Charset_utf16le) DecodeRune

func (Charset_utf16le) DecodeRune(b []byte) (rune, int)

func (Charset_utf16le) EncodeRune

func (Charset_utf16le) EncodeRune(dst []byte, r rune) int

func (Charset_utf16le) IsSuperset

func (Charset_utf16le) IsSuperset(other types.Charset) bool

func (Charset_utf16le) Name

func (Charset_utf16le) Name() string

func (Charset_utf16le) SupportsSupplementaryChars

func (Charset_utf16le) SupportsSupplementaryChars() bool

type Charset_utf32

type Charset_utf32 struct{}

func (Charset_utf32) CharLen added in v0.16.0

func (Charset_utf32) CharLen(src []byte) int

func (Charset_utf32) DecodeRune

func (Charset_utf32) DecodeRune(p []byte) (rune, int)

func (Charset_utf32) EncodeRune

func (Charset_utf32) EncodeRune(dst []byte, r rune) int

func (Charset_utf32) IsSuperset

func (Charset_utf32) IsSuperset(other types.Charset) bool

func (Charset_utf32) Name

func (Charset_utf32) Name() string

func (Charset_utf32) SupportsSupplementaryChars

func (Charset_utf32) SupportsSupplementaryChars() bool

type Charset_utf8mb3

type Charset_utf8mb3 struct{}

func (Charset_utf8mb3) DecodeRune

func (Charset_utf8mb3) DecodeRune(p []byte) (rune, int)

func (Charset_utf8mb3) EncodeRune

func (Charset_utf8mb3) EncodeRune(p []byte, r rune) int

func (Charset_utf8mb3) IsSuperset

func (u Charset_utf8mb3) IsSuperset(other types.Charset) bool

func (Charset_utf8mb3) Length added in v0.16.0

func (Charset_utf8mb3) Length(src []byte) int

func (Charset_utf8mb3) Name

func (u Charset_utf8mb3) Name() string

func (Charset_utf8mb3) SupportsSupplementaryChars

func (Charset_utf8mb3) SupportsSupplementaryChars() bool

type Charset_utf8mb4

type Charset_utf8mb4 struct{}

func (Charset_utf8mb4) DecodeRune

func (Charset_utf8mb4) DecodeRune(p []byte) (rune, int)

func (Charset_utf8mb4) EncodeRune

func (Charset_utf8mb4) EncodeRune(p []byte, r rune) int

func (Charset_utf8mb4) IsSuperset

func (Charset_utf8mb4) IsSuperset(other types.Charset) bool

func (Charset_utf8mb4) Length added in v0.16.0

func (Charset_utf8mb4) Length(src []byte) int

func (Charset_utf8mb4) Name

func (Charset_utf8mb4) Name() string

func (Charset_utf8mb4) SupportsSupplementaryChars

func (Charset_utf8mb4) SupportsSupplementaryChars() bool

func (Charset_utf8mb4) Validate added in v0.14.0

func (Charset_utf8mb4) Validate(p []byte) bool

Jump to

Keyboard shortcuts

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