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>

 

Shared Function Decode(s As Slice<UInt16>) As 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

 

Shared Function DecodeRune(r1 As rune, r2 As rune) As 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>

 

Shared Function Encode(s As Slice<rune>) As 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) -> (rune, rune)

 

func EncodeRune(r rune) tuple of (|name=r1| rune, |name=r2| rune)

 

Shared Function EncodeRune(r As rune) As Tuple (Of rune, 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

 

Shared Function IsSurrogate(r As rune) As bool

Parameters:

  • r: