Ler em inglês Editar

Compartilhar via


Rune.EncodeToUtf16(Span<Char>) Method

Definition

Encodes this Rune to a UTF-16 destination buffer.

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 Versões
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10