Editar

Compartir vía


Rune.EncodeToUtf16(Span<Char>) Method

Definition

Encodes this Rune to a UTF-16 destination buffer.

public:
 int EncodeToUtf16(Span<char> destination);
public int EncodeToUtf16 (Span<char> destination);
member this.EncodeToUtf16 : Span<char> -> int
Public Function EncodeToUtf16 (destination As Span(Of Char)) As Integer

Parameters

destination
Span<Char>

The buffer to which to write this value as UTF-16.

Returns

The number of Char values written to destination.

Exceptions

destination is not large enough to hold the output.

Applies to