# Functions
AppendRune appends the UTF-8 encoding of r to the end of p and returns the extended buffer.
DecodeLastRune unpacks the last UTF-8 encoding in p and returns the rune and its width in bytes.
DecodeLastRuneInString is like [DecodeLastRune] but its input is a string.
DecodeRune unpacks the first UTF-8 encoding in p and returns the rune and its width in bytes.
DecodeRuneInString is like [DecodeRune] but its input is a string.
EncodeRune writes into p (which must be large enough) the UTF-8 encoding of the rune.
FullRune reports whether the bytes in p begin with a full UTF-8 encoding of a rune.
FullRuneInString is like FullRune but its input is a string.
RuneCount returns the number of runes in p.
RuneCountInString is like [RuneCount] but its input is a string.
RuneLen returns the number of bytes in the UTF-8 encoding of the rune.
RuneStart reports whether the byte could be the first byte of an encoded, possibly invalid rune.
Valid reports whether p consists entirely of valid UTF-8-encoded runes.
ValidRune reports whether r can be legally encoded as UTF-8.
ValidString reports whether s consists entirely of valid UTF-8-encoded runes.