You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Text/Rune.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -327,7 +327,7 @@ The general convention is to call this method in a loop, slicing the `source` bu
327
327
<returns>
328
328
<seecref="F:System.Buffers.OperationStatus.Done" /> if the source buffer begins with a valid UTF-8 encoded scalar value. <paramrefname="result" /> then contains the decoded <seecref="T:System.Text.Rune" />, and <paramrefname="bytesConsumed" /> contains the number of <seecref="T:System.Byte" /> values used in the input buffer to encode the <seecref="T:System.Text.Rune" />.
329
329
330
-
<seecref="F:System.Buffers.OperationStatus.NeedMoreData" /> if the source buffer is empty or contains only a standalone UTF-8 high surrogate character. <paramrefname="result" /> then contains <seecref="P:System.Text.Rune.ReplacementChar" />, and <paramrefname="bytesConsumed" /> contains the length of the input buffer.
330
+
<seecref="F:System.Buffers.OperationStatus.NeedMoreData" /> if the source buffer is empty or contains only a partial UTF-8 subsequence. <paramrefname="result" /> then contains <seecref="P:System.Text.Rune.ReplacementChar" />, and <paramrefname="bytesConsumed" /> contains the length of the input buffer.
331
331
332
332
<seecref="F:System.Buffers.OperationStatus.InvalidData" /> if the source buffer begins with an ill-formed UTF-8 encoded scalar value. <paramrefname="result" /> then contains <seecref="P:System.Text.Rune.ReplacementChar" />, and <paramrefname="bytesConsumed" /> contains the number of <seecref="T:System.Byte" /> values used in the input buffer to encode the ill-formed sequence.
0 commit comments