1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Text.Encoding.Extensions</name>
7 <member name="T:System.Text.ASCIIEncoding">
8 <summary>Represents an ASCII character encoding of Unicode characters.</summary>
9 <filterpriority>1</filterpriority>
11 <member name="M:System.Text.ASCIIEncoding.#ctor">
12 <summary>Initializes a new instance of the <see cref="T:System.Text.ASCIIEncoding" /> class.</summary>
14 <member name="M:System.Text.ASCIIEncoding.GetByteCount(System.Char*,System.Int32)">
15 <summary>Calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer.</summary>
16 <returns>The number of bytes produced by encoding the specified characters.</returns>
17 <param name="chars">A pointer to the first character to encode.</param>
18 <param name="count">The number of characters to encode.</param>
19 <exception cref="T:System.ArgumentNullException">
20 <paramref name="chars" /> is null. </exception>
21 <exception cref="T:System.ArgumentOutOfRangeException">
22 <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>
23 <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>
24 <filterpriority>1</filterpriority>
26 <member name="M:System.Text.ASCIIEncoding.GetByteCount(System.Char[],System.Int32,System.Int32)">
27 <summary>Calculates the number of bytes produced by encoding a set of characters from the specified character array.</summary>
28 <returns>The number of bytes produced by encoding the specified characters.</returns>
29 <param name="chars">The character array containing the set of characters to encode.</param>
30 <param name="index">The index of the first character to encode.</param>
31 <param name="count">The number of characters to encode.</param>
32 <exception cref="T:System.ArgumentNullException">
33 <paramref name="chars" /> is null. </exception>
34 <exception cref="T:System.ArgumentOutOfRangeException">
35 <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>
36 <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>
37 <filterpriority>1</filterpriority>
39 <member name="M:System.Text.ASCIIEncoding.GetByteCount(System.String)">
40 <summary>Calculates the number of bytes produced by encoding the characters in the specified <see cref="T:System.String" />.</summary>
41 <returns>The number of bytes produced by encoding the specified characters.</returns>
42 <param name="chars">The <see cref="T:System.String" /> containing the set of characters to encode.</param>
43 <exception cref="T:System.ArgumentNullException">
44 <paramref name="chars" /> is null. </exception>
45 <exception cref="T:System.ArgumentOutOfRangeException">The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
46 <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>
47 <filterpriority>1</filterpriority>
49 <member name="M:System.Text.ASCIIEncoding.GetBytes(System.Char*,System.Int32,System.Byte*,System.Int32)">
50 <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>
51 <returns>The actual number of bytes written at the location indicated by <paramref name="bytes" />.</returns>
52 <param name="chars">A pointer to the first character to encode.</param>
53 <param name="charCount">The number of characters to encode.</param>
54 <param name="bytes">A pointer to the location at which to start writing the resulting sequence of bytes.</param>
55 <param name="byteCount">The maximum number of bytes to write.</param>
56 <exception cref="T:System.ArgumentNullException">
57 <paramref name="chars" /> is null.-or- <paramref name="bytes" /> is null. </exception>
58 <exception cref="T:System.ArgumentOutOfRangeException">
59 <paramref name="charCount" /> or <paramref name="byteCount" /> is less than zero. </exception>
60 <exception cref="T:System.ArgumentException">
61 <paramref name="byteCount" /> is less than the resulting number of bytes. </exception>
62 <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>
63 <filterpriority>1</filterpriority>
65 <member name="M:System.Text.ASCIIEncoding.GetBytes(System.Char[],System.Int32,System.Int32,System.Byte[],System.Int32)">
66 <summary>Encodes a set of characters from the specified character array into the specified byte array.</summary>
67 <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
68 <param name="chars">The character array containing the set of characters to encode.</param>
69 <param name="charIndex">The index of the first character to encode.</param>
70 <param name="charCount">The number of characters to encode.</param>
71 <param name="bytes">The byte array to contain the resulting sequence of bytes.</param>
72 <param name="byteIndex">The index at which to start writing the resulting sequence of bytes.</param>
73 <exception cref="T:System.ArgumentNullException">
74 <paramref name="chars" /> is null.-or- <paramref name="bytes" /> is null. </exception>
75 <exception cref="T:System.ArgumentOutOfRangeException">
76 <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.-or- <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.-or- <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />. </exception>
77 <exception cref="T:System.ArgumentException">
78 <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes. </exception>
79 <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>
80 <filterpriority>1</filterpriority>
82 <member name="M:System.Text.ASCIIEncoding.GetBytes(System.String,System.Int32,System.Int32,System.Byte[],System.Int32)">
83 <summary>Encodes a set of characters from the specified <see cref="T:System.String" /> into the specified byte array.</summary>
84 <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
85 <param name="chars">The <see cref="T:System.String" /> containing the set of characters to encode.</param>
86 <param name="charIndex">The index of the first character to encode.</param>
87 <param name="charCount">The number of characters to encode.</param>
88 <param name="bytes">The byte array to contain the resulting sequence of bytes.</param>
89 <param name="byteIndex">The index at which to start writing the resulting sequence of bytes.</param>
90 <exception cref="T:System.ArgumentNullException">
91 <paramref name="s" /> is null.-or- <paramref name="bytes" /> is null. </exception>
92 <exception cref="T:System.ArgumentOutOfRangeException">
93 <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.-or- <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.-or- <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />. </exception>
94 <exception cref="T:System.ArgumentException">
95 <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes. </exception>
96 <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>
97 <filterpriority>1</filterpriority>
99 <member name="M:System.Text.ASCIIEncoding.GetCharCount(System.Byte*,System.Int32)">
100 <summary>Calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer.</summary>
101 <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
102 <param name="bytes">A pointer to the first byte to decode.</param>
103 <param name="count">The number of bytes to decode.</param>
104 <exception cref="T:System.ArgumentNullException">
105 <paramref name="bytes" /> is null. </exception>
106 <exception cref="T:System.ArgumentOutOfRangeException">
107 <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>
108 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
109 <filterpriority>1</filterpriority>
111 <member name="M:System.Text.ASCIIEncoding.GetCharCount(System.Byte[],System.Int32,System.Int32)">
112 <summary>Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.</summary>
113 <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
114 <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
115 <param name="index">The index of the first byte to decode.</param>
116 <param name="count">The number of bytes to decode.</param>
117 <exception cref="T:System.ArgumentNullException">
118 <paramref name="bytes" /> is null. </exception>
119 <exception cref="T:System.ArgumentOutOfRangeException">
120 <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" />.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
121 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
122 <filterpriority>1</filterpriority>
124 <member name="M:System.Text.ASCIIEncoding.GetChars(System.Byte*,System.Int32,System.Char*,System.Int32)">
125 <summary>Decodes a sequence of bytes starting at the specified byte pointer into a set of characters that are stored starting at the specified character pointer.</summary>
126 <returns>The actual number of characters written at the location indicated by <paramref name="chars" />.</returns>
127 <param name="bytes">A pointer to the first byte to decode.</param>
128 <param name="byteCount">The number of bytes to decode.</param>
129 <param name="chars">A pointer to the location at which to start writing the resulting set of characters.</param>
130 <param name="charCount">The maximum number of characters to write.</param>
131 <exception cref="T:System.ArgumentNullException">
132 <paramref name="bytes" /> is null.-or- <paramref name="chars" /> is null. </exception>
133 <exception cref="T:System.ArgumentOutOfRangeException">
134 <paramref name="byteCount" /> or <paramref name="charCount" /> is less than zero. </exception>
135 <exception cref="T:System.ArgumentException">
136 <paramref name="charCount" /> is less than the resulting number of characters. </exception>
137 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
138 <filterpriority>1</filterpriority>
140 <member name="M:System.Text.ASCIIEncoding.GetChars(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32)">
141 <summary>Decodes a sequence of bytes from the specified byte array into the specified character array.</summary>
142 <returns>The actual number of characters written into <paramref name="chars" />.</returns>
143 <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
144 <param name="byteIndex">The index of the first byte to decode.</param>
145 <param name="byteCount">The number of bytes to decode.</param>
146 <param name="chars">The character array to contain the resulting set of characters.</param>
147 <param name="charIndex">The index at which to start writing the resulting set of characters.</param>
148 <exception cref="T:System.ArgumentNullException">
149 <paramref name="bytes" /> is null.-or- <paramref name="chars" /> is null. </exception>
150 <exception cref="T:System.ArgumentOutOfRangeException">
151 <paramref name="byteIndex" /> or <paramref name="byteCount" /> or <paramref name="charIndex" /> is less than zero.-or- <paramref name="byteindex" /> and <paramref name="byteCount" /> do not denote a valid range in <paramref name="bytes" />.-or- <paramref name="charIndex" /> is not a valid index in <paramref name="chars" />. </exception>
152 <exception cref="T:System.ArgumentException">
153 <paramref name="chars" /> does not have enough capacity from <paramref name="charIndex" /> to the end of the array to accommodate the resulting characters. </exception>
154 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
155 <filterpriority>1</filterpriority>
157 <member name="M:System.Text.ASCIIEncoding.GetDecoder">
158 <summary>Obtains a decoder that converts an ASCII encoded sequence of bytes into a sequence of Unicode characters.</summary>
159 <returns>A <see cref="T:System.Text.Decoder" /> that converts an ASCII encoded sequence of bytes into a sequence of Unicode characters.</returns>
160 <filterpriority>1</filterpriority>
162 <member name="M:System.Text.ASCIIEncoding.GetEncoder">
163 <summary>Obtains an encoder that converts a sequence of Unicode characters into an ASCII encoded sequence of bytes.</summary>
164 <returns>An <see cref="T:System.Text.Encoder" /> that converts a sequence of Unicode characters into an ASCII encoded sequence of bytes.</returns>
165 <filterpriority>1</filterpriority>
167 <member name="M:System.Text.ASCIIEncoding.GetMaxByteCount(System.Int32)">
168 <summary>Calculates the maximum number of bytes produced by encoding the specified number of characters.</summary>
169 <returns>The maximum number of bytes produced by encoding the specified number of characters.</returns>
170 <param name="charCount">The number of characters to encode.</param>
171 <exception cref="T:System.ArgumentOutOfRangeException">
172 <paramref name="charCount" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
173 <filterpriority>1</filterpriority>
175 <member name="M:System.Text.ASCIIEncoding.GetMaxCharCount(System.Int32)">
176 <summary>Calculates the maximum number of characters produced by decoding the specified number of bytes.</summary>
177 <returns>The maximum number of characters produced by decoding the specified number of bytes.</returns>
178 <param name="byteCount">The number of bytes to decode.</param>
179 <exception cref="T:System.ArgumentOutOfRangeException">
180 <paramref name="byteCount" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
181 <filterpriority>1</filterpriority>
183 <member name="M:System.Text.ASCIIEncoding.GetString(System.Byte[],System.Int32,System.Int32)">
184 <summary>Decodes a range of bytes from a byte array into a string.</summary>
185 <returns>A <see cref="T:System.String" /> containing the results of decoding the specified sequence of bytes.</returns>
186 <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
187 <param name="byteIndex">The index of the first byte to decode.</param>
188 <param name="byteCount">The number of bytes to decode.</param>
189 <exception cref="T:System.ArgumentNullException">
190 <paramref name="bytes" /> is null. </exception>
191 <exception cref="T:System.ArgumentOutOfRangeException">
192 <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>
193 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
194 <filterpriority>1</filterpriority>
196 <member name="P:System.Text.ASCIIEncoding.IsSingleByte">
197 <summary>Gets a value indicating whether the current encoding uses single-byte code points.</summary>
198 <returns>This property is always true.</returns>
199 <filterpriority>2</filterpriority>
201 <member name="T:System.Text.UnicodeEncoding">
202 <summary>Represents a UTF-16 encoding of Unicode characters. </summary>
203 <filterpriority>1</filterpriority>
205 <member name="M:System.Text.UnicodeEncoding.#ctor">
206 <summary>Initializes a new instance of the <see cref="T:System.Text.UnicodeEncoding" /> class.</summary>
208 <member name="M:System.Text.UnicodeEncoding.#ctor(System.Boolean,System.Boolean)">
209 <summary>Initializes a new instance of the <see cref="T:System.Text.UnicodeEncoding" /> class. Parameters specify whether to use the big endian byte order and whether the <see cref="M:System.Text.UnicodeEncoding.GetPreamble" /> method returns a Unicode byte order mark. </summary>
210 <param name="bigEndian">true to use the big endian byte order (most significant byte first), or false to use the little endian byte order (least significant byte first). </param>
211 <param name="byteOrderMark">true to specify that the <see cref="M:System.Text.UnicodeEncoding.GetPreamble" /> method returns a Unicode byte order mark; otherwise, false. See the Remarks section for more information. </param>
213 <member name="M:System.Text.UnicodeEncoding.#ctor(System.Boolean,System.Boolean,System.Boolean)">
214 <summary>Initializes a new instance of the <see cref="T:System.Text.UnicodeEncoding" /> class. Parameters specify whether to use the big endian byte order, whether to provide a Unicode byte order mark, and whether to throw an exception when an invalid encoding is detected.</summary>
215 <param name="bigEndian">true to use the big endian byte order (most significant byte first); false to use the little endian byte order (least significant byte first). </param>
216 <param name="byteOrderMark">true to specify that the <see cref="M:System.Text.UnicodeEncoding.GetPreamble" /> method returns a Unicode byte order mark; otherwise, false. See the Remarks section for more information. </param>
217 <param name="throwOnInvalidBytes">true to specify that an exception should be thrown when an invalid encoding is detected; otherwise, false. </param>
219 <member name="M:System.Text.UnicodeEncoding.Equals(System.Object)">
220 <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Text.UnicodeEncoding" /> object.</summary>
221 <returns>true if <paramref name="value" /> is an instance of <see cref="T:System.Text.UnicodeEncoding" /> and is equal to the current object; otherwise, false.</returns>
222 <param name="value">The object to compare with the current object. </param>
223 <filterpriority>2</filterpriority>
225 <member name="M:System.Text.UnicodeEncoding.GetByteCount(System.Char[],System.Int32,System.Int32)">
226 <summary>Calculates the number of bytes produced by encoding a set of characters from the specified character array.</summary>
227 <returns>The number of bytes produced by encoding the specified characters.</returns>
228 <param name="chars">The character array containing the set of characters to encode. </param>
229 <param name="index">The index of the first character to encode. </param>
230 <param name="count">The number of characters to encode. </param>
231 <exception cref="T:System.ArgumentNullException">
232 <paramref name="chars" /> is null (Nothing). </exception>
233 <exception cref="T:System.ArgumentOutOfRangeException">
234 <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>
235 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters. </exception>
236 <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
237 <filterpriority>1</filterpriority>
239 <member name="M:System.Text.UnicodeEncoding.GetByteCount(System.String)">
240 <summary>Calculates the number of bytes produced by encoding the characters in the specified string.</summary>
241 <returns>The number of bytes produced by encoding the specified characters. </returns>
242 <param name="s">The string that contains the set of characters to encode. </param>
243 <exception cref="T:System.ArgumentNullException">
244 <paramref name="s" /> is null . </exception>
245 <exception cref="T:System.ArgumentOutOfRangeException">The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
246 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="s" /> contains an invalid sequence of characters. </exception>
247 <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
248 <filterpriority>1</filterpriority>
250 <member name="M:System.Text.UnicodeEncoding.GetBytes(System.Char[],System.Int32,System.Int32,System.Byte[],System.Int32)">
251 <summary>Encodes a set of characters from the specified character array into the specified byte array.</summary>
252 <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
253 <param name="chars">The character array containing the set of characters to encode. </param>
254 <param name="charIndex">The index of the first character to encode. </param>
255 <param name="charCount">The number of characters to encode. </param>
256 <param name="bytes">The byte array to contain the resulting sequence of bytes. </param>
257 <param name="byteIndex">The index at which to start writing the resulting sequence of bytes. </param>
258 <exception cref="T:System.ArgumentNullException">
259 <paramref name="chars" /> is null (Nothing).-or- <paramref name="bytes" /> is null (Nothing). </exception>
260 <exception cref="T:System.ArgumentOutOfRangeException">
261 <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.-or- <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.-or- <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />. </exception>
262 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.-or- <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes. </exception>
263 <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
264 <filterpriority>1</filterpriority>
266 <member name="M:System.Text.UnicodeEncoding.GetBytes(System.String,System.Int32,System.Int32,System.Byte[],System.Int32)">
267 <summary>Encodes a set of characters from the specified <see cref="T:System.String" /> into the specified byte array.</summary>
268 <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
269 <param name="s">The string containing the set of characters to encode. </param>
270 <param name="charIndex">The index of the first character to encode. </param>
271 <param name="charCount">The number of characters to encode. </param>
272 <param name="bytes">The byte array to contain the resulting sequence of bytes. </param>
273 <param name="byteIndex">The index at which to start writing the resulting sequence of bytes. </param>
274 <exception cref="T:System.ArgumentNullException">
275 <paramref name="s" /> is null .-or- <paramref name="bytes" /> is null (Nothing). </exception>
276 <exception cref="T:System.ArgumentOutOfRangeException">
277 <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.-or- <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.-or- <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />. </exception>
278 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="s" /> contains an invalid sequence of characters.-or- <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes. </exception>
279 <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
280 <filterpriority>1</filterpriority>
282 <member name="M:System.Text.UnicodeEncoding.GetCharCount(System.Byte[],System.Int32,System.Int32)">
283 <summary>Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.</summary>
284 <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
285 <param name="bytes">The byte array containing the sequence of bytes to decode. </param>
286 <param name="index">The index of the first byte to decode. </param>
287 <param name="count">The number of bytes to decode. </param>
288 <exception cref="T:System.ArgumentNullException">
289 <paramref name="bytes" /> is null (Nothing). </exception>
290 <exception cref="T:System.ArgumentOutOfRangeException">
291 <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" />.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
292 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes. </exception>
293 <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.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
294 <filterpriority>1</filterpriority>
296 <member name="M:System.Text.UnicodeEncoding.GetChars(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32)">
297 <summary>Decodes a sequence of bytes from the specified byte array into the specified character array.</summary>
298 <returns>The actual number of characters written into <paramref name="chars" />.</returns>
299 <param name="bytes">The byte array containing the sequence of bytes to decode. </param>
300 <param name="byteIndex">The index of the first byte to decode. </param>
301 <param name="byteCount">The number of bytes to decode. </param>
302 <param name="chars">The character array to contain the resulting set of characters. </param>
303 <param name="charIndex">The index at which to start writing the resulting set of characters. </param>
304 <exception cref="T:System.ArgumentNullException">
305 <paramref name="bytes" /> is null (Nothing).-or- <paramref name="chars" /> is null (Nothing). </exception>
306 <exception cref="T:System.ArgumentOutOfRangeException">
307 <paramref name="byteIndex" /> or <paramref name="byteCount" /> or <paramref name="charIndex" /> is less than zero.-or- <paramref name="byteindex" /> and <paramref name="byteCount" /> do not denote a valid range in <paramref name="bytes" />.-or- <paramref name="charIndex" /> is not a valid index in <paramref name="chars" />. </exception>
308 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.-or- <paramref name="chars" /> does not have enough capacity from <paramref name="charIndex" /> to the end of the array to accommodate the resulting characters. </exception>
309 <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.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
310 <filterpriority>1</filterpriority>
312 <member name="M:System.Text.UnicodeEncoding.GetDecoder">
313 <summary>Obtains a decoder that converts a UTF-16 encoded sequence of bytes into a sequence of Unicode characters.</summary>
314 <returns>A <see cref="T:System.Text.Decoder" /> that converts a UTF-16 encoded sequence of bytes into a sequence of Unicode characters.</returns>
315 <filterpriority>1</filterpriority>
317 <member name="M:System.Text.UnicodeEncoding.GetEncoder">
318 <summary>Obtains an encoder that converts a sequence of Unicode characters into a UTF-16 encoded sequence of bytes.</summary>
319 <returns>A <see cref="T:System.Text.Encoder" /> object that converts a sequence of Unicode characters into a UTF-16 encoded sequence of bytes.</returns>
320 <filterpriority>1</filterpriority>
322 <member name="M:System.Text.UnicodeEncoding.GetHashCode">
323 <summary>Returns the hash code for the current instance.</summary>
324 <returns>The hash code for the current <see cref="T:System.Text.UnicodeEncoding" /> object.</returns>
325 <filterpriority>1</filterpriority>
327 <member name="M:System.Text.UnicodeEncoding.GetMaxByteCount(System.Int32)">
328 <summary>Calculates the maximum number of bytes produced by encoding the specified number of characters.</summary>
329 <returns>The maximum number of bytes produced by encoding the specified number of characters.</returns>
330 <param name="charCount">The number of characters to encode. </param>
331 <exception cref="T:System.ArgumentOutOfRangeException">
332 <paramref name="charCount" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
333 <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
334 <filterpriority>1</filterpriority>
336 <member name="M:System.Text.UnicodeEncoding.GetMaxCharCount(System.Int32)">
337 <summary>Calculates the maximum number of characters produced by decoding the specified number of bytes.</summary>
338 <returns>The maximum number of characters produced by decoding the specified number of bytes.</returns>
339 <param name="byteCount">The number of bytes to decode. </param>
340 <exception cref="T:System.ArgumentOutOfRangeException">
341 <paramref name="byteCount" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
342 <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.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
343 <filterpriority>1</filterpriority>
345 <member name="M:System.Text.UnicodeEncoding.GetPreamble">
346 <summary>Returns a Unicode byte order mark encoded in UTF-16 format, if the constructor for this instance requests a byte order mark.</summary>
347 <returns>A byte array containing the Unicode byte order mark, if the <see cref="T:System.Text.UnicodeEncoding" /> object is configured to supply one. Otherwise, this method returns a zero-length byte array. </returns>
348 <filterpriority>1</filterpriority>
350 <member name="M:System.Text.UnicodeEncoding.GetString(System.Byte[],System.Int32,System.Int32)">
351 <summary>Decodes a range of bytes from a byte array into a string.</summary>
352 <returns>A <see cref="T:System.String" /> object containing the results of decoding the specified sequence of bytes.</returns>
353 <param name="bytes">The byte array containing the sequence of bytes to decode. </param>
354 <param name="index">The index of the first byte to decode. </param>
355 <param name="count">The number of bytes to decode. </param>
356 <exception cref="T:System.ArgumentNullException">
357 <paramref name="bytes" /> is null (Nothing). </exception>
358 <exception cref="T:System.ArgumentOutOfRangeException">
359 <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>
360 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes. </exception>
361 <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.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
362 <filterpriority>1</filterpriority>
364 <member name="T:System.Text.UTF32Encoding">
365 <summary>Represents a UTF-32 encoding of Unicode characters.</summary>
366 <filterpriority>1</filterpriority>
368 <member name="M:System.Text.UTF32Encoding.#ctor">
369 <summary>Initializes a new instance of the <see cref="T:System.Text.UTF32Encoding" /> class.</summary>
371 <member name="M:System.Text.UTF32Encoding.#ctor(System.Boolean,System.Boolean)">
372 <summary>Initializes a new instance of the <see cref="T:System.Text.UTF32Encoding" /> class. Parameters specify whether to use the big endian byte order and whether the <see cref="M:System.Text.UTF32Encoding.GetPreamble" /> method returns a Unicode Unicode byte order mark.</summary>
373 <param name="bigEndian">true to use the big endian byte order (most significant byte first), or false to use the little endian byte order (least significant byte first). </param>
374 <param name="byteOrderMark">true to specify that a Unicode byte order mark is provided; otherwise, false. </param>
376 <member name="M:System.Text.UTF32Encoding.#ctor(System.Boolean,System.Boolean,System.Boolean)">
377 <summary>Initializes a new instance of the <see cref="T:System.Text.UTF32Encoding" /> class. Parameters specify whether to use the big endian byte order, whether to provide a Unicode byte order mark, and whether to throw an exception when an invalid encoding is detected.</summary>
378 <param name="bigEndian">true to use the big endian byte order (most significant byte first), or false to use the little endian byte order (least significant byte first). </param>
379 <param name="byteOrderMark">true to specify that a Unicode byte order mark is provided; otherwise, false. </param>
380 <param name="throwOnInvalidCharacters">true to specify that an exception should be thrown when an invalid encoding is detected; otherwise, false. </param>
382 <member name="M:System.Text.UTF32Encoding.Equals(System.Object)">
383 <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Text.UTF32Encoding" /> object.</summary>
384 <returns>true if <paramref name="value" /> is an instance of <see cref="T:System.Text.UTF32Encoding" /> and is equal to the current object; otherwise, false.</returns>
385 <param name="value">The <see cref="T:System.Object" /> to compare with the current object. </param>
386 <filterpriority>2</filterpriority>
388 <member name="M:System.Text.UTF32Encoding.GetByteCount(System.Char*,System.Int32)">
389 <summary>Calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer.</summary>
390 <returns>The number of bytes produced by encoding the specified characters.</returns>
391 <param name="chars">A pointer to the first character to encode. </param>
392 <param name="count">The number of characters to encode. </param>
393 <exception cref="T:System.ArgumentNullException">
394 <paramref name="chars" /> is null. </exception>
395 <exception cref="T:System.ArgumentOutOfRangeException">
396 <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>
397 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters. </exception>
398 <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>
399 <filterpriority>1</filterpriority>
401 <member name="M:System.Text.UTF32Encoding.GetByteCount(System.Char[],System.Int32,System.Int32)">
402 <summary>Calculates the number of bytes produced by encoding a set of characters from the specified character array.</summary>
403 <returns>The number of bytes produced by encoding the specified characters.</returns>
404 <param name="chars">The character array containing the set of characters to encode. </param>
405 <param name="index">The index of the first character to encode. </param>
406 <param name="count">The number of characters to encode. </param>
407 <exception cref="T:System.ArgumentNullException">
408 <paramref name="chars" /> is null. </exception>
409 <exception cref="T:System.ArgumentOutOfRangeException">
410 <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>
411 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters. </exception>
412 <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>
413 <filterpriority>1</filterpriority>
415 <member name="M:System.Text.UTF32Encoding.GetByteCount(System.String)">
416 <summary>Calculates the number of bytes produced by encoding the characters in the specified <see cref="T:System.String" />.</summary>
417 <returns>The number of bytes produced by encoding the specified characters.</returns>
418 <param name="s">The <see cref="T:System.String" /> containing the set of characters to encode. </param>
419 <exception cref="T:System.ArgumentNullException">
420 <paramref name="s" /> is null. </exception>
421 <exception cref="T:System.ArgumentOutOfRangeException">The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
422 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="s" /> contains an invalid sequence of characters. </exception>
423 <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>
424 <filterpriority>1</filterpriority>
426 <member name="M:System.Text.UTF32Encoding.GetBytes(System.Char*,System.Int32,System.Byte*,System.Int32)">
427 <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>
428 <returns>The actual number of bytes written at the location indicated by the <paramref name="bytes" /> parameter.</returns>
429 <param name="chars">A pointer to the first character to encode. </param>
430 <param name="charCount">The number of characters to encode. </param>
431 <param name="bytes">A pointer to the location at which to start writing the resulting sequence of bytes. </param>
432 <param name="byteCount">The maximum number of bytes to write. </param>
433 <exception cref="T:System.ArgumentNullException">
434 <paramref name="chars" /> is null.-or- <paramref name="bytes" /> is null. </exception>
435 <exception cref="T:System.ArgumentOutOfRangeException">
436 <paramref name="charCount" /> or <paramref name="byteCount" /> is less than zero. </exception>
437 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.-or- <paramref name="byteCount" /> is less than the resulting number of bytes. </exception>
438 <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>
439 <filterpriority>1</filterpriority>
441 <member name="M:System.Text.UTF32Encoding.GetBytes(System.Char[],System.Int32,System.Int32,System.Byte[],System.Int32)">
442 <summary>Encodes a set of characters from the specified character array into the specified byte array.</summary>
443 <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
444 <param name="chars">The character array containing the set of characters to encode. </param>
445 <param name="charIndex">The index of the first character to encode. </param>
446 <param name="charCount">The number of characters to encode. </param>
447 <param name="bytes">The byte array to contain the resulting sequence of bytes. </param>
448 <param name="byteIndex">The index at which to start writing the resulting sequence of bytes. </param>
449 <exception cref="T:System.ArgumentNullException">
450 <paramref name="chars" /> is null.-or- <paramref name="bytes" /> is null. </exception>
451 <exception cref="T:System.ArgumentOutOfRangeException">
452 <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.-or- <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.-or- <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />. </exception>
453 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.-or- <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes. </exception>
454 <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>
455 <filterpriority>1</filterpriority>
457 <member name="M:System.Text.UTF32Encoding.GetBytes(System.String,System.Int32,System.Int32,System.Byte[],System.Int32)">
458 <summary>Encodes a set of characters from the specified <see cref="T:System.String" /> into the specified byte array.</summary>
459 <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
460 <param name="s">The <see cref="T:System.String" /> containing the set of characters to encode. </param>
461 <param name="charIndex">The index of the first character to encode. </param>
462 <param name="charCount">The number of characters to encode. </param>
463 <param name="bytes">The byte array to contain the resulting sequence of bytes. </param>
464 <param name="byteIndex">The index at which to start writing the resulting sequence of bytes. </param>
465 <exception cref="T:System.ArgumentNullException">
466 <paramref name="s" /> is null.-or- <paramref name="bytes" /> is null. </exception>
467 <exception cref="T:System.ArgumentOutOfRangeException">
468 <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.-or- <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.-or- <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />. </exception>
469 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="s" /> contains an invalid sequence of characters.-or- <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes. </exception>
470 <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>
471 <filterpriority>1</filterpriority>
473 <member name="M:System.Text.UTF32Encoding.GetCharCount(System.Byte*,System.Int32)">
474 <summary>Calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer.</summary>
475 <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
476 <param name="bytes">A pointer to the first byte to decode. </param>
477 <param name="count">The number of bytes to decode. </param>
478 <exception cref="T:System.ArgumentNullException">
479 <paramref name="bytes" /> is null. </exception>
480 <exception cref="T:System.ArgumentOutOfRangeException">
481 <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>
482 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes. </exception>
483 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
484 <filterpriority>1</filterpriority>
486 <member name="M:System.Text.UTF32Encoding.GetCharCount(System.Byte[],System.Int32,System.Int32)">
487 <summary>Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.</summary>
488 <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
489 <param name="bytes">The byte array containing the sequence of bytes to decode. </param>
490 <param name="index">The index of the first byte to decode. </param>
491 <param name="count">The number of bytes to decode. </param>
492 <exception cref="T:System.ArgumentNullException">
493 <paramref name="bytes" /> is null. </exception>
494 <exception cref="T:System.ArgumentOutOfRangeException">
495 <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" />.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
496 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes. </exception>
497 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
498 <filterpriority>1</filterpriority>
500 <member name="M:System.Text.UTF32Encoding.GetChars(System.Byte*,System.Int32,System.Char*,System.Int32)">
501 <summary>Decodes a sequence of bytes starting at the specified byte pointer into a set of characters that are stored starting at the specified character pointer.</summary>
502 <returns>The actual number of characters written at the location indicated by <paramref name="chars" />.</returns>
503 <param name="bytes">A pointer to the first byte to decode. </param>
504 <param name="byteCount">The number of bytes to decode. </param>
505 <param name="chars">A pointer to the location at which to start writing the resulting set of characters. </param>
506 <param name="charCount">The maximum number of characters to write. </param>
507 <exception cref="T:System.ArgumentNullException">
508 <paramref name="bytes" /> is null.-or- <paramref name="chars" /> is null. </exception>
509 <exception cref="T:System.ArgumentOutOfRangeException">
510 <paramref name="byteCount" /> or <paramref name="charCount" /> is less than zero. </exception>
511 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.-or- <paramref name="charCount" /> is less than the resulting number of characters. </exception>
512 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
513 <filterpriority>1</filterpriority>
515 <member name="M:System.Text.UTF32Encoding.GetChars(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32)">
516 <summary>Decodes a sequence of bytes from the specified byte array into the specified character array.</summary>
517 <returns>The actual number of characters written into <paramref name="chars" />.</returns>
518 <param name="bytes">The byte array containing the sequence of bytes to decode. </param>
519 <param name="byteIndex">The index of the first byte to decode. </param>
520 <param name="byteCount">The number of bytes to decode. </param>
521 <param name="chars">The character array to contain the resulting set of characters. </param>
522 <param name="charIndex">The index at which to start writing the resulting set of characters. </param>
523 <exception cref="T:System.ArgumentNullException">
524 <paramref name="bytes" /> is null.-or- <paramref name="chars" /> is null. </exception>
525 <exception cref="T:System.ArgumentOutOfRangeException">
526 <paramref name="byteIndex" /> or <paramref name="byteCount" /> or <paramref name="charIndex" /> is less than zero.-or- <paramref name="byteindex" /> and <paramref name="byteCount" /> do not denote a valid range in <paramref name="bytes" />.-or- <paramref name="charIndex" /> is not a valid index in <paramref name="chars" />. </exception>
527 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.-or- <paramref name="chars" /> does not have enough capacity from <paramref name="charIndex" /> to the end of the array to accommodate the resulting characters. </exception>
528 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
529 <filterpriority>1</filterpriority>
531 <member name="M:System.Text.UTF32Encoding.GetDecoder">
532 <summary>Obtains a decoder that converts a UTF-32 encoded sequence of bytes into a sequence of Unicode characters.</summary>
533 <returns>A <see cref="T:System.Text.Decoder" /> that converts a UTF-32 encoded sequence of bytes into a sequence of Unicode characters.</returns>
534 <filterpriority>1</filterpriority>
536 <member name="M:System.Text.UTF32Encoding.GetEncoder">
537 <summary>Obtains an encoder that converts a sequence of Unicode characters into a UTF-32 encoded sequence of bytes.</summary>
538 <returns>A <see cref="T:System.Text.Encoder" /> that converts a sequence of Unicode characters into a UTF-32 encoded sequence of bytes.</returns>
539 <filterpriority>1</filterpriority>
541 <member name="M:System.Text.UTF32Encoding.GetHashCode">
542 <summary>Returns the hash code for the current instance.</summary>
543 <returns>The hash code for the current <see cref="T:System.Text.UTF32Encoding" /> object.</returns>
544 <filterpriority>1</filterpriority>
546 <member name="M:System.Text.UTF32Encoding.GetMaxByteCount(System.Int32)">
547 <summary>Calculates the maximum number of bytes produced by encoding the specified number of characters.</summary>
548 <returns>The maximum number of bytes produced by encoding the specified number of characters.</returns>
549 <param name="charCount">The number of characters to encode. </param>
550 <exception cref="T:System.ArgumentOutOfRangeException">
551 <paramref name="charCount" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
552 <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>
553 <filterpriority>1</filterpriority>
555 <member name="M:System.Text.UTF32Encoding.GetMaxCharCount(System.Int32)">
556 <summary>Calculates the maximum number of characters produced by decoding the specified number of bytes.</summary>
557 <returns>The maximum number of characters produced by decoding the specified number of bytes.</returns>
558 <param name="byteCount">The number of bytes to decode. </param>
559 <exception cref="T:System.ArgumentOutOfRangeException">
560 <paramref name="byteCount" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
561 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
562 <filterpriority>1</filterpriority>
564 <member name="M:System.Text.UTF32Encoding.GetPreamble">
565 <summary>Returns a Unicode byte order mark encoded in UTF-32 format, if the constructor for this instance requests a byte order mark.</summary>
566 <returns>A byte array containing the Unicode byte order mark, if the constructor for this instance requests a byte order mark. Otherwise, this method returns a byte array of length zero.</returns>
567 <filterpriority>1</filterpriority>
569 <member name="M:System.Text.UTF32Encoding.GetString(System.Byte[],System.Int32,System.Int32)">
570 <summary>Decodes a range of bytes from a byte array into a string.</summary>
571 <returns>A <see cref="T:System.String" /> containing the results of decoding the specified sequence of bytes.</returns>
572 <param name="bytes">The byte array containing the sequence of bytes to decode. </param>
573 <param name="index">The index of the first byte to decode. </param>
574 <param name="count">The number of bytes to decode. </param>
575 <exception cref="T:System.ArgumentNullException">
576 <paramref name="bytes" /> is null. </exception>
577 <exception cref="T:System.ArgumentOutOfRangeException">
578 <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>
579 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes. </exception>
580 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
581 <filterpriority>1</filterpriority>
583 <member name="T:System.Text.UTF7Encoding">
584 <summary>Represents a UTF-7 encoding of Unicode characters.</summary>
585 <filterpriority>1</filterpriority>
587 <member name="M:System.Text.UTF7Encoding.#ctor">
588 <summary>Initializes a new instance of the <see cref="T:System.Text.UTF7Encoding" /> class.</summary>
590 <member name="M:System.Text.UTF7Encoding.#ctor(System.Boolean)">
591 <summary>Initializes a new instance of the <see cref="T:System.Text.UTF7Encoding" /> class. A parameter specifies whether to allow optional characters.</summary>
592 <param name="allowOptionals">true to specify that optional characters are allowed; otherwise, false. </param>
594 <member name="M:System.Text.UTF7Encoding.Equals(System.Object)">
595 <summary>Gets a value indicating whether the specified object is equal to the current <see cref="T:System.Text.UTF7Encoding" /> object.</summary>
596 <returns>true if <paramref name="value" /> is a <see cref="T:System.Text.UTF7Encoding" /> object and is equal to the current <see cref="T:System.Text.UTF7Encoding" /> object; otherwise, false.</returns>
597 <param name="value">An object to compare to the current <see cref="T:System.Text.UTF7Encoding" /> object.</param>
598 <filterpriority>2</filterpriority>
600 <member name="M:System.Text.UTF7Encoding.GetByteCount(System.Char*,System.Int32)">
601 <summary>Calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer.</summary>
602 <returns>The number of bytes produced by encoding the specified characters.</returns>
603 <param name="chars">A pointer to the first character to encode. </param>
604 <param name="count">The number of characters to encode. </param>
605 <exception cref="T:System.ArgumentNullException">
606 <paramref name="chars" /> is null (Nothing in Visual Basic .NET). </exception>
607 <exception cref="T:System.ArgumentOutOfRangeException">
608 <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 int. </exception>
609 <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>
610 <filterpriority>1</filterpriority>
612 <member name="M:System.Text.UTF7Encoding.GetByteCount(System.Char[],System.Int32,System.Int32)">
613 <summary>Calculates the number of bytes produced by encoding a set of characters from the specified character array.</summary>
614 <returns>The number of bytes produced by encoding the specified characters.</returns>
615 <param name="chars">The character array containing the set of characters to encode. </param>
616 <param name="index">The index of the first character to encode. </param>
617 <param name="count">The number of characters to encode. </param>
618 <exception cref="T:System.ArgumentNullException">
619 <paramref name="chars" /> is null (Nothing). </exception>
620 <exception cref="T:System.ArgumentOutOfRangeException">
621 <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 int. </exception>
622 <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>
623 <filterpriority>1</filterpriority>
625 <member name="M:System.Text.UTF7Encoding.GetByteCount(System.String)">
626 <summary>Calculates the number of bytes produced by encoding the characters in the specified <see cref="T:System.String" /> object.</summary>
627 <returns>The number of bytes produced by encoding the specified characters.</returns>
628 <param name="s">The <see cref="T:System.String" /> object containing the set of characters to encode. </param>
629 <exception cref="T:System.ArgumentNullException">
630 <paramref name="s" /> is null (Nothing). </exception>
631 <exception cref="T:System.ArgumentOutOfRangeException">The resulting number of bytes is greater than the maximum number that can be returned as an int. </exception>
632 <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
633 <filterpriority>1</filterpriority>
635 <member name="M:System.Text.UTF7Encoding.GetBytes(System.Char*,System.Int32,System.Byte*,System.Int32)">
636 <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>
637 <returns>The actual number of bytes written at the location indicated by <paramref name="bytes" />.</returns>
638 <param name="chars">A pointer to the first character to encode. </param>
639 <param name="charCount">The number of characters to encode. </param>
640 <param name="bytes">A pointer to the location at which to start writing the resulting sequence of bytes. </param>
641 <param name="byteCount">The maximum number of bytes to write. </param>
642 <exception cref="T:System.ArgumentNullException">
643 <paramref name="chars" /> is null (Nothing).-or- <paramref name="bytes" /> is null (Nothing). </exception>
644 <exception cref="T:System.ArgumentOutOfRangeException">
645 <paramref name="charCount" /> or <paramref name="byteCount" /> is less than zero. </exception>
646 <exception cref="T:System.ArgumentException">
647 <paramref name="byteCount" /> is less than the resulting number of bytes. </exception>
648 <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
649 <filterpriority>1</filterpriority>
651 <member name="M:System.Text.UTF7Encoding.GetBytes(System.Char[],System.Int32,System.Int32,System.Byte[],System.Int32)">
652 <summary>Encodes a set of characters from the specified character array into the specified byte array.</summary>
653 <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
654 <param name="chars">The character array containing the set of characters to encode. </param>
655 <param name="charIndex">The index of the first character to encode. </param>
656 <param name="charCount">The number of characters to encode. </param>
657 <param name="bytes">The byte array to contain the resulting sequence of bytes. </param>
658 <param name="byteIndex">The index at which to start writing the resulting sequence of bytes. </param>
659 <exception cref="T:System.ArgumentNullException">
660 <paramref name="chars" /> is null (Nothing).-or- <paramref name="bytes" /> is null (Nothing). </exception>
661 <exception cref="T:System.ArgumentOutOfRangeException">
662 <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.-or- <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.-or- <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />. </exception>
663 <exception cref="T:System.ArgumentException">
664 <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes. </exception>
665 <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
666 <filterpriority>1</filterpriority>
668 <member name="M:System.Text.UTF7Encoding.GetBytes(System.String,System.Int32,System.Int32,System.Byte[],System.Int32)">
669 <summary>Encodes a set of characters from the specified <see cref="T:System.String" /> into the specified byte array.</summary>
670 <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
671 <param name="s">The <see cref="T:System.String" /> containing the set of characters to encode. </param>
672 <param name="charIndex">The index of the first character to encode. </param>
673 <param name="charCount">The number of characters to encode. </param>
674 <param name="bytes">The byte array to contain the resulting sequence of bytes. </param>
675 <param name="byteIndex">The index at which to start writing the resulting sequence of bytes. </param>
676 <exception cref="T:System.ArgumentNullException">
677 <paramref name="s" /> is null (Nothing).-or- <paramref name="bytes" /> is null (Nothing). </exception>
678 <exception cref="T:System.ArgumentOutOfRangeException">
679 <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.-or- <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.-or- <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />. </exception>
680 <exception cref="T:System.ArgumentException">
681 <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes. </exception>
682 <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
683 <filterpriority>1</filterpriority>
685 <member name="M:System.Text.UTF7Encoding.GetCharCount(System.Byte*,System.Int32)">
686 <summary>Calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer.</summary>
687 <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
688 <param name="bytes">A pointer to the first byte to decode. </param>
689 <param name="count">The number of bytes to decode. </param>
690 <exception cref="T:System.ArgumentNullException">
691 <paramref name="bytes" /> is null (Nothing). </exception>
692 <exception cref="T:System.ArgumentOutOfRangeException">
693 <paramref name="count" /> is less than zero.-or- The resulting number of characters is greater than the maximum number that can be returned as an int. </exception>
694 <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.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
695 <filterpriority>1</filterpriority>
697 <member name="M:System.Text.UTF7Encoding.GetCharCount(System.Byte[],System.Int32,System.Int32)">
698 <summary>Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.</summary>
699 <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
700 <param name="bytes">The byte array containing the sequence of bytes to decode. </param>
701 <param name="index">The index of the first byte to decode. </param>
702 <param name="count">The number of bytes to decode. </param>
703 <exception cref="T:System.ArgumentNullException">
704 <paramref name="bytes" /> is null (Nothing). </exception>
705 <exception cref="T:System.ArgumentOutOfRangeException">
706 <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" />.-or- The resulting number of characters is greater than the maximum number that can be returned as an int. </exception>
707 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
708 <filterpriority>1</filterpriority>
710 <member name="M:System.Text.UTF7Encoding.GetChars(System.Byte*,System.Int32,System.Char*,System.Int32)">
711 <summary>Decodes a sequence of bytes starting at the specified byte pointer into a set of characters that are stored starting at the specified character pointer.</summary>
712 <returns>The actual number of characters written at the location indicated by <paramref name="chars" />.</returns>
713 <param name="bytes">A pointer to the first byte to decode. </param>
714 <param name="byteCount">The number of bytes to decode. </param>
715 <param name="chars">A pointer to the location at which to start writing the resulting set of characters. </param>
716 <param name="charCount">The maximum number of characters to write. </param>
717 <exception cref="T:System.ArgumentNullException">
718 <paramref name="bytes" /> is null (Nothing).-or- <paramref name="chars" /> is null (Nothing). </exception>
719 <exception cref="T:System.ArgumentOutOfRangeException">
720 <paramref name="byteCount" /> or <paramref name="charCount" /> is less than zero. </exception>
721 <exception cref="T:System.ArgumentException">
722 <paramref name="charCount" /> is less than the resulting number of characters. </exception>
723 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
724 <filterpriority>1</filterpriority>
726 <member name="M:System.Text.UTF7Encoding.GetChars(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32)">
727 <summary>Decodes a sequence of bytes from the specified byte array into the specified character array.</summary>
728 <returns>The actual number of characters written into <paramref name="chars" />.</returns>
729 <param name="bytes">The byte array containing the sequence of bytes to decode. </param>
730 <param name="byteIndex">The index of the first byte to decode. </param>
731 <param name="byteCount">The number of bytes to decode. </param>
732 <param name="chars">The character array to contain the resulting set of characters. </param>
733 <param name="charIndex">The index at which to start writing the resulting set of characters. </param>
734 <exception cref="T:System.ArgumentNullException">
735 <paramref name="bytes" /> is null (Nothing).-or- <paramref name="chars" /> is null (Nothing). </exception>
736 <exception cref="T:System.ArgumentOutOfRangeException">
737 <paramref name="byteIndex" /> or <paramref name="byteCount" /> or <paramref name="charIndex" /> is less than zero.-or- <paramref name="byteindex" /> and <paramref name="byteCount" /> do not denote a valid range in <paramref name="bytes" />.-or- <paramref name="charIndex" /> is not a valid index in <paramref name="chars" />. </exception>
738 <exception cref="T:System.ArgumentException">
739 <paramref name="chars" /> does not have enough capacity from <paramref name="charIndex" /> to the end of the array to accommodate the resulting characters. </exception>
740 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
741 <filterpriority>1</filterpriority>
743 <member name="M:System.Text.UTF7Encoding.GetDecoder">
744 <summary>Obtains a decoder that converts a UTF-7 encoded sequence of bytes into a sequence of Unicode characters.</summary>
745 <returns>A <see cref="T:System.Text.Decoder" /> that converts a UTF-7 encoded sequence of bytes into a sequence of Unicode characters.</returns>
746 <filterpriority>1</filterpriority>
748 <member name="M:System.Text.UTF7Encoding.GetEncoder">
749 <summary>Obtains an encoder that converts a sequence of Unicode characters into a UTF-7 encoded sequence of bytes.</summary>
750 <returns>A <see cref="T:System.Text.Encoder" /> that converts a sequence of Unicode characters into a UTF-7 encoded sequence of bytes.</returns>
751 <filterpriority>1</filterpriority>
753 <member name="M:System.Text.UTF7Encoding.GetHashCode">
754 <summary>Returns the hash code for the current <see cref="T:System.Text.UTF7Encoding" /> object.</summary>
755 <returns>A 32-bit signed integer hash code.</returns>
756 <filterpriority>1</filterpriority>
758 <member name="M:System.Text.UTF7Encoding.GetMaxByteCount(System.Int32)">
759 <summary>Calculates the maximum number of bytes produced by encoding the specified number of characters.</summary>
760 <returns>The maximum number of bytes produced by encoding the specified number of characters.</returns>
761 <param name="charCount">The number of characters to encode. </param>
762 <exception cref="T:System.ArgumentOutOfRangeException">
763 <paramref name="charCount" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an int. </exception>
764 <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>
765 <filterpriority>1</filterpriority>
767 <member name="M:System.Text.UTF7Encoding.GetMaxCharCount(System.Int32)">
768 <summary>Calculates the maximum number of characters produced by decoding the specified number of bytes.</summary>
769 <returns>The maximum number of characters produced by decoding the specified number of bytes.</returns>
770 <param name="byteCount">The number of bytes to decode. </param>
771 <exception cref="T:System.ArgumentOutOfRangeException">
772 <paramref name="byteCount" /> is less than zero.-or- The resulting number of characters is greater than the maximum number that can be returned as an int. </exception>
773 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
774 <filterpriority>1</filterpriority>
776 <member name="M:System.Text.UTF7Encoding.GetString(System.Byte[],System.Int32,System.Int32)">
777 <summary>Decodes a range of bytes from a byte array into a string.</summary>
778 <returns>A <see cref="T:System.String" /> containing the results of decoding the specified sequence of bytes.</returns>
779 <param name="bytes">The byte array containing the sequence of bytes to decode. </param>
780 <param name="index">The index of the first byte to decode. </param>
781 <param name="count">The number of bytes to decode. </param>
782 <exception cref="T:System.ArgumentNullException">
783 <paramref name="bytes" /> is null (Nothing). </exception>
784 <exception cref="T:System.ArgumentOutOfRangeException">
785 <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>
786 <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.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
787 <filterpriority>1</filterpriority>
789 <member name="T:System.Text.UTF8Encoding">
790 <summary>Represents a UTF-8 encoding of Unicode characters.</summary>
791 <filterpriority>1</filterpriority>
793 <member name="M:System.Text.UTF8Encoding.#ctor">
794 <summary>Initializes a new instance of the <see cref="T:System.Text.UTF8Encoding" /> class.</summary>
796 <member name="M:System.Text.UTF8Encoding.#ctor(System.Boolean)">
797 <summary>Initializes a new instance of the <see cref="T:System.Text.UTF8Encoding" /> class. A parameter specifies whether to provide a Unicode byte order mark. </summary>
798 <param name="encoderShouldEmitUTF8Identifier">true to specify that the <see cref="M:System.Text.UTF8Encoding.GetPreamble" /> method returns a Unicode byte order mark; otherwise, false. See the Remarks section for more information. </param>
800 <member name="M:System.Text.UTF8Encoding.#ctor(System.Boolean,System.Boolean)">
801 <summary>Initializes a new instance of the <see cref="T:System.Text.UTF8Encoding" /> class. Parameters specify whether to provide a Unicode byte order mark and whether to throw an exception when an invalid encoding is detected. </summary>
802 <param name="encoderShouldEmitUTF8Identifier">true to specify that the <see cref="M:System.Text.UTF8Encoding.GetPreamble" /> method should return a Unicode byte order mark; otherwise, false. See the Remarks section for more information. </param>
803 <param name="throwOnInvalidBytes">true to throw an exception when an invalid encoding is detected; otherwise, false. </param>
805 <member name="M:System.Text.UTF8Encoding.Equals(System.Object)">
806 <summary>Determines whether the specified object is equal to the current <see cref="T:System.Text.UTF8Encoding" /> object.</summary>
807 <returns>true if <paramref name="value" /> is an instance of <see cref="T:System.Text.UTF8Encoding" /> and is equal to the current object; otherwise, false.</returns>
808 <param name="value">The object to compare with the current instance. </param>
809 <filterpriority>2</filterpriority>
811 <member name="M:System.Text.UTF8Encoding.GetByteCount(System.Char*,System.Int32)">
812 <summary>Calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer.</summary>
813 <returns>The number of bytes produced by encoding the specified characters. </returns>
814 <param name="chars">A pointer to the first character to encode. </param>
815 <param name="count">The number of characters to encode. </param>
816 <exception cref="T:System.ArgumentNullException">
817 <paramref name="chars" /> is null. </exception>
818 <exception cref="T:System.ArgumentOutOfRangeException">
819 <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>
820 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters. </exception>
821 <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for a complete explanation)-and-<see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
822 <filterpriority>1</filterpriority>
824 <member name="M:System.Text.UTF8Encoding.GetByteCount(System.Char[],System.Int32,System.Int32)">
825 <summary>Calculates the number of bytes produced by encoding a set of characters from the specified character array.</summary>
826 <returns>The number of bytes produced by encoding the specified characters. </returns>
827 <param name="chars">The character array containing the set of characters to encode. </param>
828 <param name="index">The index of the first character to encode. </param>
829 <param name="count">The number of characters to encode. </param>
830 <exception cref="T:System.ArgumentNullException">
831 <paramref name="chars" /> is null. </exception>
832 <exception cref="T:System.ArgumentOutOfRangeException">
833 <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>
834 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters. </exception>
835 <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-The <see cref="P:System.Text.Encoding.EncoderFallback" /> property is set to <see cref="T:System.Text.EncoderExceptionFallback" />. </exception>
836 <filterpriority>1</filterpriority>
838 <member name="M:System.Text.UTF8Encoding.GetByteCount(System.String)">
839 <summary>Calculates the number of bytes produced by encoding the characters in the specified <see cref="T:System.String" />.</summary>
840 <returns>The number of bytes produced by encoding the specified characters.</returns>
841 <param name="chars">The <see cref="T:System.String" /> containing the set of characters to encode. </param>
842 <exception cref="T:System.ArgumentNullException">
843 <paramref name="chars" /> is null. </exception>
844 <exception cref="T:System.ArgumentOutOfRangeException">The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
845 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters. </exception>
846 <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>
847 <filterpriority>1</filterpriority>
849 <member name="M:System.Text.UTF8Encoding.GetBytes(System.Char*,System.Int32,System.Byte*,System.Int32)">
850 <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>
851 <returns>The actual number of bytes written at the location indicated by <paramref name="bytes" />.</returns>
852 <param name="chars">A pointer to the first character to encode. </param>
853 <param name="charCount">The number of characters to encode. </param>
854 <param name="bytes">A pointer to the location at which to start writing the resulting sequence of bytes. </param>
855 <param name="byteCount">The maximum number of bytes to write. </param>
856 <exception cref="T:System.ArgumentNullException">
857 <paramref name="chars" /> is null.-or- <paramref name="bytes" /> is null. </exception>
858 <exception cref="T:System.ArgumentOutOfRangeException">
859 <paramref name="charCount" /> or <paramref name="byteCount" /> is less than zero. </exception>
860 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.-or- <paramref name="byteCount" /> is less than the resulting number of bytes. </exception>
861 <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>
862 <filterpriority>1</filterpriority>
864 <member name="M:System.Text.UTF8Encoding.GetBytes(System.Char[],System.Int32,System.Int32,System.Byte[],System.Int32)">
865 <summary>Encodes a set of characters from the specified character array into the specified byte array.</summary>
866 <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
867 <param name="chars">The character array containing the set of characters to encode. </param>
868 <param name="charIndex">The index of the first character to encode. </param>
869 <param name="charCount">The number of characters to encode. </param>
870 <param name="bytes">The byte array to contain the resulting sequence of bytes. </param>
871 <param name="byteIndex">The index at which to start writing the resulting sequence of bytes. </param>
872 <exception cref="T:System.ArgumentNullException">
873 <paramref name="chars" /> is null.-or- <paramref name="bytes" /> is null. </exception>
874 <exception cref="T:System.ArgumentOutOfRangeException">
875 <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.-or- <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.-or- <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />. </exception>
876 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.-or- <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes. </exception>
877 <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>
878 <filterpriority>1</filterpriority>
880 <member name="M:System.Text.UTF8Encoding.GetBytes(System.String,System.Int32,System.Int32,System.Byte[],System.Int32)">
881 <summary>Encodes a set of characters from the specified <see cref="T:System.String" /> into the specified byte array.</summary>
882 <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
883 <param name="s">The <see cref="T:System.String" /> containing the set of characters to encode. </param>
884 <param name="charIndex">The index of the first character to encode. </param>
885 <param name="charCount">The number of characters to encode. </param>
886 <param name="bytes">The byte array to contain the resulting sequence of bytes. </param>
887 <param name="byteIndex">The index at which to start writing the resulting sequence of bytes. </param>
888 <exception cref="T:System.ArgumentNullException">
889 <paramref name="s" /> is null.-or- <paramref name="bytes" /> is null. </exception>
890 <exception cref="T:System.ArgumentOutOfRangeException">
891 <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.-or- <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.-or- <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />. </exception>
892 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="s" /> contains an invalid sequence of characters.-or- <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes. </exception>
893 <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>
894 <filterpriority>1</filterpriority>
896 <member name="M:System.Text.UTF8Encoding.GetCharCount(System.Byte*,System.Int32)">
897 <summary>Calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer.</summary>
898 <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
899 <param name="bytes">A pointer to the first byte to decode. </param>
900 <param name="count">The number of bytes to decode. </param>
901 <exception cref="T:System.ArgumentNullException">
902 <paramref name="bytes" /> is null. </exception>
903 <exception cref="T:System.ArgumentOutOfRangeException">
904 <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>
905 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes. </exception>
906 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
907 <filterpriority>1</filterpriority>
909 <member name="M:System.Text.UTF8Encoding.GetCharCount(System.Byte[],System.Int32,System.Int32)">
910 <summary>Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.</summary>
911 <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
912 <param name="bytes">The byte array containing the sequence of bytes to decode. </param>
913 <param name="index">The index of the first byte to decode. </param>
914 <param name="count">The number of bytes to decode. </param>
915 <exception cref="T:System.ArgumentNullException">
916 <paramref name="bytes" /> is null. </exception>
917 <exception cref="T:System.ArgumentOutOfRangeException">
918 <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" />.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
919 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes. </exception>
920 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
921 <filterpriority>1</filterpriority>
923 <member name="M:System.Text.UTF8Encoding.GetChars(System.Byte*,System.Int32,System.Char*,System.Int32)">
924 <summary>Decodes a sequence of bytes starting at the specified byte pointer into a set of characters that are stored starting at the specified character pointer.</summary>
925 <returns>The actual number of characters written at the location indicated by <paramref name="chars" />.</returns>
926 <param name="bytes">A pointer to the first byte to decode. </param>
927 <param name="byteCount">The number of bytes to decode. </param>
928 <param name="chars">A pointer to the location at which to start writing the resulting set of characters. </param>
929 <param name="charCount">The maximum number of characters to write. </param>
930 <exception cref="T:System.ArgumentNullException">
931 <paramref name="bytes" /> is null.-or- <paramref name="chars" /> is null. </exception>
932 <exception cref="T:System.ArgumentOutOfRangeException">
933 <paramref name="byteCount" /> or <paramref name="charCount" /> is less than zero. </exception>
934 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.-or- <paramref name="charCount" /> is less than the resulting number of characters. </exception>
935 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
936 <filterpriority>1</filterpriority>
938 <member name="M:System.Text.UTF8Encoding.GetChars(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32)">
939 <summary>Decodes a sequence of bytes from the specified byte array into the specified character array.</summary>
940 <returns>The actual number of characters written into <paramref name="chars" />.</returns>
941 <param name="bytes">The byte array containing the sequence of bytes to decode. </param>
942 <param name="byteIndex">The index of the first byte to decode. </param>
943 <param name="byteCount">The number of bytes to decode. </param>
944 <param name="chars">The character array to contain the resulting set of characters. </param>
945 <param name="charIndex">The index at which to start writing the resulting set of characters. </param>
946 <exception cref="T:System.ArgumentNullException">
947 <paramref name="bytes" /> is null.-or- <paramref name="chars" /> is null. </exception>
948 <exception cref="T:System.ArgumentOutOfRangeException">
949 <paramref name="byteIndex" /> or <paramref name="byteCount" /> or <paramref name="charIndex" /> is less than zero.-or- <paramref name="byteindex" /> and <paramref name="byteCount" /> do not denote a valid range in <paramref name="bytes" />.-or- <paramref name="charIndex" /> is not a valid index in <paramref name="chars" />. </exception>
950 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.-or- <paramref name="chars" /> does not have enough capacity from <paramref name="charIndex" /> to the end of the array to accommodate the resulting characters. </exception>
951 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
952 <filterpriority>1</filterpriority>
954 <member name="M:System.Text.UTF8Encoding.GetDecoder">
955 <summary>Obtains a decoder that converts a UTF-8 encoded sequence of bytes into a sequence of Unicode characters. </summary>
956 <returns>A decoder that converts a UTF-8 encoded sequence of bytes into a sequence of Unicode characters.</returns>
957 <filterpriority>1</filterpriority>
959 <member name="M:System.Text.UTF8Encoding.GetEncoder">
960 <summary>Obtains an encoder that converts a sequence of Unicode characters into a UTF-8 encoded sequence of bytes.</summary>
961 <returns>A <see cref="T:System.Text.Encoder" /> that converts a sequence of Unicode characters into a UTF-8 encoded sequence of bytes.</returns>
962 <filterpriority>1</filterpriority>
964 <member name="M:System.Text.UTF8Encoding.GetHashCode">
965 <summary>Returns the hash code for the current instance.</summary>
966 <returns>The hash code for the current instance.</returns>
967 <filterpriority>1</filterpriority>
969 <member name="M:System.Text.UTF8Encoding.GetMaxByteCount(System.Int32)">
970 <summary>Calculates the maximum number of bytes produced by encoding the specified number of characters.</summary>
971 <returns>The maximum number of bytes produced by encoding the specified number of characters.</returns>
972 <param name="charCount">The number of characters to encode. </param>
973 <exception cref="T:System.ArgumentOutOfRangeException">
974 <paramref name="charCount" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
975 <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>
976 <filterpriority>1</filterpriority>
978 <member name="M:System.Text.UTF8Encoding.GetMaxCharCount(System.Int32)">
979 <summary>Calculates the maximum number of characters produced by decoding the specified number of bytes.</summary>
980 <returns>The maximum number of characters produced by decoding the specified number of bytes.</returns>
981 <param name="byteCount">The number of bytes to decode. </param>
982 <exception cref="T:System.ArgumentOutOfRangeException">
983 <paramref name="byteCount" /> is less than zero.-or- The resulting number of bytes is greater than the maximum number that can be returned as an integer. </exception>
984 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
985 <filterpriority>1</filterpriority>
987 <member name="M:System.Text.UTF8Encoding.GetPreamble">
988 <summary>Returns a Unicode byte order mark encoded in UTF-8 format, if the <see cref="T:System.Text.UTF8Encoding" /> encoding object is configured to supply one. </summary>
989 <returns>A byte array containing the Unicode byte order mark, if the <see cref="T:System.Text.UTF8Encoding" /> encoding object is configured to supply one. Otherwise, this method returns a zero-length byte array. </returns>
990 <filterpriority>1</filterpriority>
992 <member name="M:System.Text.UTF8Encoding.GetString(System.Byte[],System.Int32,System.Int32)">
993 <summary>Decodes a range of bytes from a byte array into a string.</summary>
994 <returns>A <see cref="T:System.String" /> containing the results of decoding the specified sequence of bytes.</returns>
995 <param name="bytes">The byte array containing the sequence of bytes to decode. </param>
996 <param name="index">The index of the first byte to decode. </param>
997 <param name="count">The number of bytes to decode. </param>
998 <exception cref="T:System.ArgumentNullException">
999 <paramref name="bytes" /> is null. </exception>
1000 <exception cref="T:System.ArgumentOutOfRangeException">
1001 <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>
1002 <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes. </exception>
1003 <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)-and-<see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
1004 <filterpriority>1</filterpriority>