Global

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.unicode.utf16
  • Platforms: .NET, .NET Standard 2.0, Island

Methods


Decode

 

class method Decode(s: Slice<UInt16>): Slice<rune>

 

static Slice<rune> Decode(Slice<UInt16> s)

 

static func Decode(_ s: Slice<UInt16>) -> Slice<rune>

 

func Decode(s Slice<UInt16>) Slice<rune>

Parameters:

  • s:

DecodeRune

 

class method DecodeRune(r1: rune; r2: rune): rune

 

static rune DecodeRune(rune r1, rune r2)

 

static func DecodeRune(_ r1: rune, _ r2: rune) -> rune

 

func DecodeRune(r1 rune, r2 rune) rune

Parameters:

  • r1:
  • r2:

Encode

 

class method Encode(s: Slice<rune>): Slice<UInt16>

 

static Slice<UInt16> Encode(Slice<rune> s)

 

static func Encode(_ s: Slice<rune>) -> Slice<UInt16>

 

func Encode(s Slice<rune>) Slice<UInt16>

Parameters:

  • s:

EncodeRune

 

class method EncodeRune(r: rune): tuple of (r1: rune, r2: rune)

 

static (rune r1, rune r2) EncodeRune(rune r)

 

static func EncodeRune(_ r: rune) -> (r1:rune, r2:rune)

 

func EncodeRune(r rune) (r1 rune, r2 rune)

Parameters:

  • r:

IsSurrogate

 

class method IsSurrogate(r: rune): bool

 

static bool IsSurrogate(rune r)

 

static func IsSurrogate(_ r: rune) -> bool

 

func IsSurrogate(r rune) bool

Parameters:

  • r: