Rune.EncodeToUtf8(Span<Byte>) Yöntem

Tanım

Bunu Rune bir UTF-8 hedef arabelleğine kodlar.

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

Parametreler

destination
Span<Byte>

Bu değerin UTF-8 olarak yazıldığı arabellek.

Döndürülenler

Int32

öğesine yazılan destinationdeğerlerin Byte sayısı.

Özel durumlar

destination , çıkışı tutacak kadar büyük değil.

Şunlara uygulanır