packages/System.Text.Encoding.4.3.0/ref/netstandard1.3/System.Text.Encoding.xml
(开头部分) 93KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Text.Encoding</name>
</assembly>
<members>
<member name="T:System.Text.Decoder">
<summary>Converts a sequence of encoded bytes into a set of characters.</summary>
<filterpriority>1</filterpriority>
</member>
<member name="M:System.Text.Decoder.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Text.Decoder" /> class.</summary>
</member>
<member name="M:System.Text.Decoder.Convert(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32,System.Int32,System.Boolean,System.Int32@,System.Int32@,System.Boolean@)">
<summary>Converts an array of encoded bytes to UTF-16 encoded characters and stores the result in a character array.</summary>
<param name="bytes">A byte array to convert.</param>
<param name="byteIndex">The first element of <paramref name="bytes" /> to convert.</param>
<param name="byteCount">The number of elements of <paramref name="bytes" /> to convert.</param>
<param name="chars">An array to store the converted characters.</param>
<param name="charIndex">The first element of <paramref name="chars" /> in which data is stored.</param>
<param name="charCount">The maximum number of elements of <paramref name="chars" /> to use in the conversion.</param>
<param name="flush">true to indicate that no further data is to be converted; otherwise, false.</param>
<param name="bytesUsed">When this method returns, contains the number of bytes that were used in the conversion. This parameter is passed uninitialized.</param>
<param name="charsUsed">When this method returns, contains the number of characters from <paramref name="chars" /> that were produced by the conversion. This parameter is passed uninitialized.</param>
<param name="completed">When this method returns, contains true if all the characters specified by <paramref name="byteCount" /> were converted; otherwise, false. This parameter is passed uninitialized.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="chars" /> or <paramref name="bytes" /> is null (Nothing).</exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="charIndex" />, <paramref name="charCount" />, <paramref name="byteIndex" />, or <paramref name="byteCount" /> is less than zero.-or-The length of <paramref name="chars" /> - <paramref name="charIndex" /> is less than <paramref name="charCount" />.-or-The length of <paramref name="bytes" /> - <paramref name="byteIndex" /> is less than <paramref name="byteCount" />.</exception>
<exception cref="T:System.ArgumentException">The output buffer is too small to contain any of the converted input. The output buffer should be greater than or equal to the size indicated by the <see cref="Overload:System.Text.Decoder.GetCharCount" /> method.</exception>
<exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)-and-<see cref="P:System.Text.Decoder.Fallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
<filterpriority>2</filterpriority>
</member>
<member name="P:System.Text.Decoder.Fallback">
<summary>Gets or sets a <see cref="T:System.Text.DecoderFallback" /> object for the current <see cref="T:System.Text.Decoder" /> object.</summary>
<returns>A <see cref="T:System.Text.DecoderFallback" /> object.</returns>
<exception cref="T:System.ArgumentNullException">The value in a set operation is null (Nothing).</exception>
<exception cref="T:System.ArgumentException">A new value cannot be assigned in a set operation because the current <see cref="T:System.Text.DecoderFallbackBuffer" /> object contains data that has not been decoded yet. </exception>
<filterpriority>1</filterpriority>
</member>
<member name="P:System.Text.Decoder.FallbackBuffer">
<summary>Gets the <see cref="T:System.Text.DecoderFallbackBuffer" /> object associated with the current <see cref="T:System.Text.Decoder" /> object.</summary>
<returns>A <see cref="T:System.Text.DecoderFallbackBuffer" /> object.</returns>
<filterpriority>1</filterpriority>
</member>
<member name="M:System.Text.Decoder.GetCharCount(System.Byte[],System.Int32,System.Int32)">
<summary>When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.</summary>
<returns>The number of characters produced by decoding the specified sequence of bytes and any bytes in the internal buffer.</returns>
<param name="bytes">The byte array containing the sequence of bytes to decode. </param>
<param name="index">The index of the first byte to decode. </param>
<param name="count">The number of bytes to decode. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="bytes" /> is null (Nothing). </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> or <paramref name="count" /> is less than zero.-or- <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />. </exception>
<exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)-and-<see cref="P:System.Text.Decoder.Fallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
<filterpriority>2</filterpriority>
</member>
<member name="M:System.Text.Decoder.GetCharCount(System.Byte[],System.Int32,System.Int32,System.Boolean)">
<summary>When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes from the specified byte array. A parameter indicates whether to clear the internal state of the decoder after the calculation.</summary>
后面还有 958 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
