TextEncoder.FindFirstCharacterToEncodeUtf8(ReadOnlySpan<Byte>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finds the first element in a UTF-8 text input buffer that would be escaped by the current encoder instance.
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
Parameters
- utf8Text
- ReadOnlySpan<Byte>
The UTF-8 text input buffer to search.
Returns
The index of the first element in utf8Text
that would be escaped by the current encoder instance, or -1 if no data in utf8Text
requires escaping.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.