utf16

package
v0.15.10 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeRune

func DecodeRune(a, b rune) rune

func IsLead

func IsLead(c rune) bool

func IsSurrogate

func IsSurrogate(c rune) bool

*

  • Is this code point a surrogate (U+d800..U+dfff)?
  • @param c 32-bit code point
  • @return true or false
  • @stable ICU 2.4

func IsSurrogateLead

func IsSurrogateLead(c rune) bool

*

  • Assuming c is a surrogate code point (U_IS_SURROGATE(c)),
  • is it a lead surrogate?
  • @param c 32-bit code point
  • @return true or false
  • @stable ICU 2.4

func IsTrail

func IsTrail(c rune) bool

func NextUnsafe

func NextUnsafe(s []uint16) (rune, []uint16)

Types

This section is empty.

Jump to

Keyboard shortcuts

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