Rune.EncodeToUtf8(Span<Byte>) Rune.EncodeToUtf8(Span<Byte>) Rune.EncodeToUtf8(Span<Byte>) Rune.EncodeToUtf8(Span<Byte>) Method

Definizione

Codifica questo oggetto Rune in un buffer di destinazione UTF-8.Encodes this Rune to a UTF-8 destination buffer.

public:
 int EncodeToUtf8(Span<System::Byte> destination);
public int EncodeToUtf8 (Span<byte> destination);
member this.EncodeToUtf8 : Span<byte> -> int
Public Function EncodeToUtf8 (destination As Span(Of Byte)) As Integer

Parametri

destination
Span<Byte>

Buffer in cui scrivere questo valore come UTF-8.The buffer to which to write this value as UTF-8.

Restituisce

Numero di valori Byte scritti in destination.The number of Byte values written to destination.

Eccezioni

destination non è sufficientemente grande per contenere l'output.destination is not large enough to hold the output.

Si applica a