Ler en inglés Editar

Compartir por


Rune.EncodeToUtf16(Span<Char>) Method

Definition

Encodes this Rune to a UTF-16 destination buffer.

C#
public int EncodeToUtf16(Span<char> destination);

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

Produto Versións
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10