packages/System.Text.Encoding.Extensions.4.3.0/ref/netstandard1.0/System.Text.Encoding.Extensions.xml
(开头部分) 103KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Text.Encoding.Extensions</name>
</assembly>
<members>
<member name="T:System.Text.ASCIIEncoding">
<summary>Represents an ASCII character encoding of Unicode characters.</summary>
<filterpriority>1</filterpriority>
</member>
<member name="M:System.Text.ASCIIEncoding.#ctor">
<summary>Initializes a new instance of the <see cref="T:System.Text.ASCIIEncoding" /> class.</summary>
</member>
<member name="M:System.Text.ASCIIEncoding.GetByteCount(System.Char*,System.Int32)">
<summary>Calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer.</summary>
<returns>The number of bytes produced by encoding the specified characters.</returns>
<param name="chars">A pointer to the first character to encode.</param>
<param name="count">The number of characters to encode.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="chars" /> is null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="count" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
<exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
<filterpriority>1</filterpriority>
</member>
<member name="M:System.Text.ASCIIEncoding.GetByteCount(System.Char[],System.Int32,System.Int32)">
<summary>Calculates the number of bytes produced by encoding a set of characters from the specified character array.</summary>
<returns>The number of bytes produced by encoding the specified characters.</returns>
<param name="chars">The character array containing the set of characters to encode.</param>
<param name="index">The index of the first character to encode.</param>
<param name="count">The number of characters to encode.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="chars" /> is null. </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="chars" />.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
<exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
<filterpriority>1</filterpriority>
</member>
<member name="M:System.Text.ASCIIEncoding.GetByteCount(System.String)">
<summary>Calculates the number of bytes produced by encoding the characters in the specified <see cref="T:System.String" />.</summary>
<returns>The number of bytes produced by encoding the specified characters.</returns>
<param name="chars">The <see cref="T:System.String" /> containing the set of characters to encode.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="chars" /> is null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
<exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
<filterpriority>1</filterpriority>
</member>
<member name="M:System.Text.ASCIIEncoding.GetBytes(System.Char*,System.Int32,System.Byte*,System.Int32)">
<summary>Encodes a set of characters starting at the specified character pointer into a sequence of bytes that are stored starting at the specified byte pointer.</summary>
<returns>The actual number of bytes written at the location indicated by <paramref name="bytes" />.</returns>
<param name="chars">A pointer to the first character to encode.</param>
<param name="charCount">The number of characters to encode.</param>
<param name="bytes">A pointer to the location at which to start writing the resulting sequence of bytes.</param>
<param name="byteCount">The maximum number of bytes to write.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="chars" /> is null.-or- <paramref name="bytes" /> is null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="charCount" /> or <paramref name="byteCount" /> is less than zero. </exception>
<exception cref="T:System.ArgumentException">
后面还有 947 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
