TextEncoder.FindFirstCharacterToEncodeUtf8(ReadOnlySpan<Byte>) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Recherche le premier élément d’une mémoire tampon d’entrée de texte UTF-8 qui serait échappé par l’instance d’encodeur actuelle.
public:
virtual int FindFirstCharacterToEncodeUtf8(ReadOnlySpan<System::Byte> utf8Text);
public virtual int FindFirstCharacterToEncodeUtf8(ReadOnlySpan<byte> utf8Text);
abstract member FindFirstCharacterToEncodeUtf8 : ReadOnlySpan<byte> -> int
override this.FindFirstCharacterToEncodeUtf8 : ReadOnlySpan<byte> -> int
Public Overridable Function FindFirstCharacterToEncodeUtf8 (utf8Text As ReadOnlySpan(Of Byte)) As Integer
Paramètres
- utf8Text
- ReadOnlySpan<Byte>
Mémoire tampon d’entrée de texte UTF-8 à rechercher.
Retours
Index du premier élément qui utf8Text serait échappé par l’instance d’encodeur actuelle, ou -1 si aucune donnée n’a utf8Text besoin d’échappement.