Documentation
¶
Index ¶
- Constants
- func AppendRune(p []byte, r rune) []byte
- func DecodeLastRune(p []byte) (r rune, size int)
- func DecodeLastRuneInString(s string) (r rune, size int)
- func DecodeRune(p []byte) (r rune, size int)
- func DecodeRuneInString(s string) (r rune, size int)
- func EncodeRune(p []byte, r rune) int
- func FullRune(p []byte) bool
- func FullRuneInString(s string) bool
- func RuneCount(p []byte) int
- func RuneCountInString(s string) (n int)
- func RuneLen(r rune) int
- func RuneStart(b byte) bool
- func Valid(p []byte) bool
- func ValidRune(r rune) bool
- func ValidString(s string) bool
Constants ¶
View Source
const MaxRune = '\U0010ffff'
View Source
const RuneError = '�'
View Source
const RuneSelf = 128
View Source
const UTFMax = 4
Variables ¶
This section is empty.
Functions ¶
func AppendRune ¶
func DecodeLastRune ¶
func DecodeLastRuneInString ¶
func DecodeRune ¶
func DecodeRuneInString ¶
func EncodeRune ¶
func FullRuneInString ¶
func RuneCountInString ¶
func ValidString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.