1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Memory</name>
7 <member name="T:System.Buffers.ArrayBufferWriter`1">
8 <summary>Represents a heap-based, array-backed output sink into which <typeparamref name="T" /> data can be written.</summary>
9 <typeparam name="T">The type of the items in this <see cref="T:System.Buffers.ArrayBufferWriter`1" /> instance.</typeparam>
11 <member name="M:System.Buffers.ArrayBufferWriter`1.#ctor">
12 <summary>Creates an instance of an <see cref="T:System.Buffers.ArrayBufferWriter`1" /> to which data can be written, with the default initial capacity.</summary>
14 <member name="M:System.Buffers.ArrayBufferWriter`1.#ctor(System.Int32)">
15 <summary>Creates an instance of an <see cref="T:System.Buffers.ArrayBufferWriter`1" /> to which data can be written, with a specified initial capacity.</summary>
16 <param name="initialCapacity">The minimum capacity with which to initialize the underlying buffer.</param>
17 <exception cref="T:System.ArgumentException">
18 <paramref name="initialCapacity" /> is less than or equal to 0.</exception>
20 <member name="M:System.Buffers.ArrayBufferWriter`1.Advance(System.Int32)">
21 <summary>Notifies the <see cref="T:System.Buffers.IBufferWriter`1" /> that <paramref name="count" /> items were written to the output <see cref="T:System.Span`1" />/<see cref="T:System.Memory`1" />.</summary>
22 <param name="count">The number of items written.</param>
23 <exception cref="T:System.ArgumentException">
24 <paramref name="count" /> is negative.</exception>
25 <exception cref="T:System.InvalidOperationException">The method call attempts to advance past the end of the underlying buffer.</exception>
27 <member name="M:System.Buffers.ArrayBufferWriter`1.Clear">
28 <summary>Clears the data written to the underlying buffer.</summary>
30 <member name="M:System.Buffers.ArrayBufferWriter`1.GetMemory(System.Int32)">
31 <summary>Returns a <see cref="T:System.Memory`1" /> to write to that is at least the length specified by <paramref name="sizeHint" />.</summary>
32 <param name="sizeHint">The minimum requested length of the <see cref="T:System.Memory`1" />.</param>
33 <exception cref="T:System.ArgumentException">
34 <paramref name="sizeHint" /> is negative.</exception>
35 <returns>A <see cref="T:System.Memory`1" /> whose length is at least <paramref name="sizeHint" />. If <paramref name="sizeHint" /> is not provided or is equal to 0, some non-empty buffer is returned.</returns>
37 <member name="M:System.Buffers.ArrayBufferWriter`1.GetSpan(System.Int32)">
38 <summary>Returns a <see cref="T:System.Span`1" /> to write to that is at least a specified length.</summary>
39 <param name="sizeHint">The minimum requested length of the <see cref="T:System.Span`1" />.</param>
40 <exception cref="T:System.ArgumentException">
41 <paramref name="sizeHint" /> is negative.</exception>
42 <returns>A span of at least <paramref name="sizeHint" /> in length. If <paramref name="sizeHint" /> is not provided or is equal to 0, some non-empty buffer is returned.</returns>
44 <member name="P:System.Buffers.ArrayBufferWriter`1.Capacity">
45 <summary>Gets the total amount of space within the underlying buffer.</summary>
46 <returns>The total capacity of the underlying buffer.</returns>
48 <member name="P:System.Buffers.ArrayBufferWriter`1.FreeCapacity">
49 <summary>Gets the amount of available space that can be written to without forcing the underlying buffer to grow.</summary>
50 <returns>The space available for writing without forcing the underlying buffer to grow.</returns>
52 <member name="P:System.Buffers.ArrayBufferWriter`1.WrittenCount">
53 <summary>Gets the amount of data written to the underlying buffer.</summary>
54 <returns>The amount of data written to the underlying buffer.</returns>
56 <member name="P:System.Buffers.ArrayBufferWriter`1.WrittenMemory">
57 <summary>Gets a <see cref="T:System.ReadOnlyMemory`1" /> that contains the data written to the underlying buffer so far.</summary>
58 <returns>The data written to the underlying buffer.</returns>
60 <member name="P:System.Buffers.ArrayBufferWriter`1.WrittenSpan">
61 <summary>Gets a <see cref="T:System.ReadOnlySpan`1" /> that contains the data written to the underlying buffer so far.</summary>
62 <returns>The data written to the underlying buffer.</returns>
64 <member name="T:System.Buffers.Binary.BinaryPrimitives">
65 <summary>Reads bytes as primitives with specific endianness.</summary>
67 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadDoubleBigEndian(System.ReadOnlySpan{System.Byte})">
68 <summary>Reads a <see cref="T:System.Double" /> from the beginning of a read-only span of bytes, as big endian.</summary>
69 <param name="source">The read-only span to read.</param>
70 <exception cref="T:System.ArgumentOutOfRangeException">
71 <paramref name="source" /> is too small to contain a <see cref="T:System.Double" />.</exception>
72 <returns>The big endian value.</returns>
74 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadDoubleLittleEndian(System.ReadOnlySpan{System.Byte})">
75 <summary>Reads a <see cref="T:System.Double" /> from the beginning of a read-only span of bytes, as little endian.</summary>
76 <param name="source">The read-only span to read.</param>
77 <exception cref="T:System.ArgumentOutOfRangeException">
78 <paramref name="source" /> is too small to contain a <see cref="T:System.Double" />.</exception>
79 <returns>The little endian value.</returns>
81 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadHalfBigEndian(System.ReadOnlySpan{System.Byte})">
82 <summary>Reads a <see cref="T:System.Half" /> from the beginning of a read-only span of bytes, as big endian.</summary>
83 <param name="source">The read-only span to read.</param>
84 <exception cref="T:System.ArgumentOutOfRangeException">
85 <paramref name="source" /> is too small to contain a <see cref="T:System.Half" />.</exception>
86 <returns>The big endian value.</returns>
88 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadHalfLittleEndian(System.ReadOnlySpan{System.Byte})">
89 <summary>Reads a <see cref="T:System.Half" /> from the beginning of a read-only span of bytes, as little endian.</summary>
90 <param name="source">The read-only span to read.</param>
91 <exception cref="T:System.ArgumentOutOfRangeException">
92 <paramref name="source" /> is too small to contain a <see cref="T:System.Half" />.</exception>
93 <returns>The little endian value.</returns>
95 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadInt16BigEndian(System.ReadOnlySpan{System.Byte})">
96 <summary>Reads an <see cref="T:System.Int16" /> from the beginning of a read-only span of bytes, as big endian.</summary>
97 <param name="source">The read-only span to read.</param>
98 <exception cref="T:System.ArgumentOutOfRangeException">
99 <paramref name="source" /> is too small to contain an <see cref="T:System.Int16" />.</exception>
100 <returns>The big endian value.</returns>
102 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadInt16LittleEndian(System.ReadOnlySpan{System.Byte})">
103 <summary>Reads an <see cref="T:System.Int16" /> from the beginning of a read-only span of bytes, as little endian.</summary>
104 <param name="source">The read-only span to read.</param>
105 <exception cref="T:System.ArgumentOutOfRangeException">
106 <paramref name="source" /> is too small to contain an <see cref="T:System.Int16" />.</exception>
107 <returns>The little endian value.</returns>
109 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadInt32BigEndian(System.ReadOnlySpan{System.Byte})">
110 <summary>Reads an <see cref="T:System.Int32" /> from the beginning of a read-only span of bytes, as big endian.</summary>
111 <param name="source">The read-only span to read.</param>
112 <exception cref="T:System.ArgumentOutOfRangeException">
113 <paramref name="source" /> is too small to contain an <see cref="T:System.Int32" />.</exception>
114 <returns>The big endian value.</returns>
116 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadInt32LittleEndian(System.ReadOnlySpan{System.Byte})">
117 <summary>Reads an <see cref="T:System.Int32" /> from the beginning of a read-only span of bytes, as little endian.</summary>
118 <param name="source">The read-only span to read.</param>
119 <exception cref="T:System.ArgumentOutOfRangeException">
120 <paramref name="source" /> is too small to contain an <see cref="T:System.Int32" />.</exception>
121 <returns>The little endian value.</returns>
123 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadInt64BigEndian(System.ReadOnlySpan{System.Byte})">
124 <summary>Reads an <see cref="T:System.Int64" /> from the beginning of a read-only span of bytes, as big endian.</summary>
125 <param name="source">The read-only span to read.</param>
126 <exception cref="T:System.ArgumentOutOfRangeException">
127 <paramref name="source" /> is too small to contain an <see cref="T:System.Int64" />.</exception>
128 <returns>The big endian value.</returns>
130 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadInt64LittleEndian(System.ReadOnlySpan{System.Byte})">
131 <summary>Reads an <see cref="T:System.Int64" /> from the beginning of a read-only span of bytes, as little endian.</summary>
132 <param name="source">The read-only span to read.</param>
133 <exception cref="T:System.ArgumentOutOfRangeException">
134 <paramref name="source" /> is too small to contain an <see cref="T:System.Int64" />.</exception>
135 <returns>The little endian value.</returns>
137 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadSingleBigEndian(System.ReadOnlySpan{System.Byte})">
138 <summary>Reads a <see cref="T:System.Single" /> from the beginning of a read-only span of bytes, as big endian.</summary>
139 <param name="source">The read-only span to read.</param>
140 <exception cref="T:System.ArgumentOutOfRangeException">
141 <paramref name="source" /> is too small to contain a <see cref="T:System.Single" />.</exception>
142 <returns>The big endian value.</returns>
144 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadSingleLittleEndian(System.ReadOnlySpan{System.Byte})">
145 <summary>Reads a <see cref="T:System.Single" /> from the beginning of a read-only span of bytes, as little endian.</summary>
146 <param name="source">The read-only span to read.</param>
147 <exception cref="T:System.ArgumentOutOfRangeException">
148 <paramref name="source" /> is too small to contain a <see cref="T:System.Single" />.</exception>
149 <returns>The little endian value.</returns>
151 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadUInt16BigEndian(System.ReadOnlySpan{System.Byte})">
152 <summary>Reads a <see cref="T:System.UInt16" /> from the beginning of a read-only span of bytes, as big endian.</summary>
153 <param name="source">The read-only span to read.</param>
154 <exception cref="T:System.ArgumentOutOfRangeException">
155 <paramref name="source" /> is too small to contain a <see cref="T:System.UInt16" />.</exception>
156 <returns>The big endian value.</returns>
158 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadUInt16LittleEndian(System.ReadOnlySpan{System.Byte})">
159 <summary>Reads a <see cref="T:System.UInt16" /> from the beginning of a read-only span of bytes, as little endian.</summary>
160 <param name="source">The read-only span to read.</param>
161 <exception cref="T:System.ArgumentOutOfRangeException">
162 <paramref name="source" /> is too small to contain a <see cref="T:System.UInt16" />.</exception>
163 <returns>The little endian value.</returns>
165 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadUInt32BigEndian(System.ReadOnlySpan{System.Byte})">
166 <summary>Reads a <see cref="T:System.UInt32" /> from the beginning of a read-only span of bytes, as big endian.</summary>
167 <param name="source">The read-only span to read.</param>
168 <exception cref="T:System.ArgumentOutOfRangeException">
169 <paramref name="source" /> is too small to contain a <see cref="T:System.UInt32" />.</exception>
170 <returns>The big endian value.</returns>
172 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadUInt32LittleEndian(System.ReadOnlySpan{System.Byte})">
173 <summary>Reads a <see cref="T:System.UInt32" /> from the beginning of a read-only span of bytes, as little endian.</summary>
174 <param name="source">The read-only span of bytes to read.</param>
175 <exception cref="T:System.ArgumentOutOfRangeException">
176 <paramref name="source" /> is too small to contain a <see cref="T:System.UInt32" />.</exception>
177 <returns>The little endian value.</returns>
179 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadUInt64BigEndian(System.ReadOnlySpan{System.Byte})">
180 <summary>Reads a <see cref="T:System.UInt64" /> from the beginning of a read-only span of bytes, as big endian.</summary>
181 <param name="source">The read-only span of bytes to read.</param>
182 <exception cref="T:System.ArgumentOutOfRangeException">
183 <paramref name="source" /> is too small to contain a <see cref="T:System.UInt64" />.</exception>
184 <returns>The big endian value.</returns>
186 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReadUInt64LittleEndian(System.ReadOnlySpan{System.Byte})">
187 <summary>Reads a <see cref="T:System.UInt64" /> from the beginning of a read-only span of bytes, as little endian.</summary>
188 <param name="source">The read-only span of bytes to read.</param>
189 <exception cref="T:System.ArgumentOutOfRangeException">
190 <paramref name="source" /> is too small to contain a <see cref="T:System.UInt64" />.</exception>
191 <returns>The little endian value.</returns>
193 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReverseEndianness(System.Byte)">
194 <summary>Reverses a primitive value by performing an endianness swap of the specified <see cref="T:System.Byte" /> value, which effectively does nothing for a <see cref="T:System.Byte" />.</summary>
195 <param name="value">The value to reverse.</param>
196 <returns>The passed-in value, unmodified.</returns>
198 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReverseEndianness(System.Int16)">
199 <summary>Reverses a primitive value by performing an endianness swap of the specified <see cref="T:System.Int16" /> value.</summary>
200 <param name="value">The value to reverse.</param>
201 <returns>The reversed value.</returns>
203 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReverseEndianness(System.Int32)">
204 <summary>Reverses a primitive value by performing an endianness swap of the specified <see cref="T:System.Int32" /> value.</summary>
205 <param name="value">The value to reverse.</param>
206 <returns>The reversed value.</returns>
208 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReverseEndianness(System.Int64)">
209 <summary>Reverses a primitive value by performing an endianness swap of the specified <see cref="T:System.Int64" /> value.</summary>
210 <param name="value">The value to reverse.</param>
211 <returns>The reversed value.</returns>
213 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReverseEndianness(System.SByte)">
214 <summary>Reverses a primitive value by performing an endianness swap of the specified <see cref="T:System.SByte" /> value, which effectively does nothing for an <see cref="T:System.SByte" />.</summary>
215 <param name="value">The value to reverse.</param>
216 <returns>The passed-in value, unmodified.</returns>
218 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReverseEndianness(System.UInt16)">
219 <summary>Reverses a primitive value by performing an endianness swap of the specified <see cref="T:System.UInt16" /> value.</summary>
220 <param name="value">The value to reverse.</param>
221 <returns>The reversed value.</returns>
223 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReverseEndianness(System.UInt32)">
224 <summary>Reverses a primitive value by performing an endianness swap of the specified <see cref="T:System.UInt32" /> value.</summary>
225 <param name="value">The value to reverse.</param>
226 <returns>The reversed value.</returns>
228 <member name="M:System.Buffers.Binary.BinaryPrimitives.ReverseEndianness(System.UInt64)">
229 <summary>Reverses a primitive value by performing an endianness swap of the specified <see cref="T:System.UInt64" /> value.</summary>
230 <param name="value">The value to reverse.</param>
231 <returns>The reversed value.</returns>
233 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadDoubleBigEndian(System.ReadOnlySpan{System.Byte},System.Double@)">
234 <summary>Reads a <see cref="T:System.Double" /> from the beginning of a read-only span of bytes, as big endian.</summary>
235 <param name="source">The read-only span of bytes to read.</param>
236 <param name="value">When this method returns, contains the value read out of the read-only span of bytes, as big endian.</param>
238 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.Double" />; otherwise, <see langword="false" />.</returns>
240 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadDoubleLittleEndian(System.ReadOnlySpan{System.Byte},System.Double@)">
241 <summary>Reads a <see cref="T:System.Double" /> from the beginning of a read-only span of bytes, as little endian.</summary>
242 <param name="source">The read-only span of bytes to read.</param>
243 <param name="value">When this method returns, contains the value read out of the read-only span of bytes, as little endian.</param>
245 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.Double" />; otherwise, <see langword="false" />.</returns>
247 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadHalfBigEndian(System.ReadOnlySpan{System.Byte},System.Half@)">
248 <summary>Reads a <see cref="T:System.Half" /> from the beginning of a read-only span of bytes, as big endian.</summary>
249 <param name="source">The read-only span of bytes to read.</param>
250 <param name="value">When this method returns, the value read out of the read-only span of bytes, as big endian.</param>
252 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.Half" />; otherwise, <see langword="false" />.</returns>
254 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadHalfLittleEndian(System.ReadOnlySpan{System.Byte},System.Half@)">
255 <summary>Reads a <see cref="T:System.Half" /> from the beginning of a read-only span of bytes, as little endian.</summary>
256 <param name="source">The read-only span of bytes to read.</param>
257 <param name="value">When this method returns, the value read out of the read-only span of bytes, as little endian.</param>
259 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.Half" />; otherwise, <see langword="false" />.</returns>
261 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadInt16BigEndian(System.ReadOnlySpan{System.Byte},System.Int16@)">
262 <summary>Reads an <see cref="T:System.Int16" /> from the beginning of a read-only span of bytes, as big endian.</summary>
263 <param name="source">The read-only span of bytes to read.</param>
264 <param name="value">When this method returns, the value read out of the read-only span of bytes, as big endian.</param>
266 <see langword="true" /> if the span is large enough to contain an <see cref="T:System.Int16" />; otherwise, <see langword="false" />.</returns>
268 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadInt16LittleEndian(System.ReadOnlySpan{System.Byte},System.Int16@)">
269 <summary>Reads an <see cref="T:System.Int16" /> from the beginning of a read-only span of bytes, as little endian.</summary>
270 <param name="source">The read-only span of bytes to read.</param>
271 <param name="value">When this method returns, the value read out of the read-only span of bytes, as little endian.</param>
273 <see langword="true" /> if the span is large enough to contain an <see cref="T:System.Int16" />; otherwise, <see langword="false" />.</returns>
275 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadInt32BigEndian(System.ReadOnlySpan{System.Byte},System.Int32@)">
276 <summary>Reads an <see cref="T:System.Int32" /> from the beginning of a read-only span of bytes, as big endian.</summary>
277 <param name="source">The read-only span of bytes to read.</param>
278 <param name="value">When this method returns, the value read out of the read-only span of bytes, as big endian.</param>
280 <see langword="true" /> if the span is large enough to contain an <see cref="T:System.Int32" />; otherwise, <see langword="false" />.</returns>
282 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadInt32LittleEndian(System.ReadOnlySpan{System.Byte},System.Int32@)">
283 <summary>Reads an <see cref="T:System.Int32" /> from the beginning of a read-only span of bytes, as little endian.</summary>
284 <param name="source">The read-only span of bytes to read.</param>
285 <param name="value">When this method returns, the value read out of the read-only span of bytes, as little endian.</param>
287 <see langword="true" /> if the span is large enough to contain an <see cref="T:System.Int32" />; otherwise, <see langword="false" />.</returns>
289 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadInt64BigEndian(System.ReadOnlySpan{System.Byte},System.Int64@)">
290 <summary>Reads an <see cref="T:System.Int64" /> from the beginning of a read-only span of bytes, as big endian.</summary>
291 <param name="source">The read-only span of bytes to read.</param>
292 <param name="value">When this method returns, the value read out of the read-only span of bytes, as big endian.</param>
294 <see langword="true" /> if the span is large enough to contain an <see cref="T:System.Int64" />; otherwise, <see langword="false" />.</returns>
296 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadInt64LittleEndian(System.ReadOnlySpan{System.Byte},System.Int64@)">
297 <summary>Reads an <see cref="T:System.Int64" /> from the beginning of a read-only span of bytes, as little endian.</summary>
298 <param name="source">The read-only span of bytes to read.</param>
299 <param name="value">When this method returns, the value read out of the read-only span of bytes, as little endian.</param>
301 <see langword="true" /> if the span is large enough to contain an <see cref="T:System.Int64" />; otherwise, <see langword="false" />.</returns>
303 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadSingleBigEndian(System.ReadOnlySpan{System.Byte},System.Single@)">
304 <summary>Reads a <see cref="T:System.Single" /> from the beginning of a read-only span of bytes, as big endian.</summary>
305 <param name="source">The read-only span of bytes to read.</param>
306 <param name="value">When this method returns, contains the value read out of the read-only span of bytes, as big endian.</param>
308 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.Single" />; otherwise, <see langword="false" />.</returns>
310 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadSingleLittleEndian(System.ReadOnlySpan{System.Byte},System.Single@)">
311 <summary>Reads a <see cref="T:System.Single" /> from the beginning of a read-only span of bytes, as little endian.</summary>
312 <param name="source">The read-only span of bytes to read.</param>
313 <param name="value">When this method returns, contains the value read out of the read-only span of bytes, as little endian.</param>
315 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.Single" />; otherwise, <see langword="false" />.</returns>
317 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadUInt16BigEndian(System.ReadOnlySpan{System.Byte},System.UInt16@)">
318 <summary>Reads a <see cref="T:System.UInt16" /> from the beginning of a read-only span of bytes, as big endian.</summary>
319 <param name="source">The read-only span of bytes to read.</param>
320 <param name="value">When this method returns, the value read out of the read-only span of bytes, as big endian.</param>
322 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.UInt16" />; otherwise, <see langword="false" />.</returns>
324 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadUInt16LittleEndian(System.ReadOnlySpan{System.Byte},System.UInt16@)">
325 <summary>Reads a <see cref="T:System.UInt16" /> from the beginning of a read-only span of bytes, as little endian.</summary>
326 <param name="source">The read-only span of bytes to read.</param>
327 <param name="value">When this method returns, the value read out of the read-only span of bytes, as little endian.</param>
329 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.UInt16" />; otherwise, <see langword="false" />.</returns>
331 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadUInt32BigEndian(System.ReadOnlySpan{System.Byte},System.UInt32@)">
332 <summary>Reads a <see cref="T:System.UInt32" /> from the beginning of a read-only span of bytes, as big endian.</summary>
333 <param name="source">The read-only span of bytes to read.</param>
334 <param name="value">When this method returns, the value read out of the read-only span of bytes, as big endian.</param>
336 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.UInt32" />; otherwise, <see langword="false" />.</returns>
338 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadUInt32LittleEndian(System.ReadOnlySpan{System.Byte},System.UInt32@)">
339 <summary>Reads a <see cref="T:System.UInt32" /> from the beginning of a read-only span of bytes, as little endian.</summary>
340 <param name="source">The read-only span of bytes to read.</param>
341 <param name="value">When this method returns, the value read out of the read-only span of bytes, as little endian.</param>
343 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.UInt32" />; otherwise, <see langword="false" />.</returns>
345 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadUInt64BigEndian(System.ReadOnlySpan{System.Byte},System.UInt64@)">
346 <summary>Reads a <see cref="T:System.UInt64" /> from the beginning of a read-only span of bytes, as big endian.</summary>
347 <param name="source">The read-only span of bytes to read.</param>
348 <param name="value">When this method returns, the value read out of the read-only span of bytes, as big endian.</param>
350 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.UInt64" />; otherwise, <see langword="false" />.</returns>
352 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryReadUInt64LittleEndian(System.ReadOnlySpan{System.Byte},System.UInt64@)">
353 <summary>Reads a <see cref="T:System.UInt64" /> from the beginning of a read-only span of bytes, as little endian.</summary>
354 <param name="source">The read-only span of bytes to read.</param>
355 <param name="value">When this method returns, the value read out of the read-only span of bytes, as little endian.</param>
357 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.UInt64" />; otherwise, <see langword="false" />.</returns>
359 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteDoubleBigEndian(System.Span{System.Byte},System.Double)">
360 <summary>Writes a <see cref="T:System.Double" /> into a span of bytes, as big endian.</summary>
361 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
362 <param name="value">The value to write into the span of bytes.</param>
364 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.Double" />; otherwise, <see langword="false" />.</returns>
366 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteDoubleLittleEndian(System.Span{System.Byte},System.Double)">
367 <summary>Writes a <see cref="T:System.Double" /> into a span of bytes, as little endian.</summary>
368 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
369 <param name="value">The value to write into the span of bytes.</param>
371 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.Double" />; otherwise, <see langword="false" />.</returns>
373 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteHalfBigEndian(System.Span{System.Byte},System.Half)">
374 <summary>Writes a <see cref="T:System.Half" /> into a span of bytes, as big endian.</summary>
375 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
376 <param name="value">The value to write into the span of bytes.</param>
378 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.Half" />; otherwise, <see langword="false" />.</returns>
380 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteHalfLittleEndian(System.Span{System.Byte},System.Half)">
381 <summary>Writes a <see cref="T:System.Half" /> into a span of bytes, as little endian.</summary>
382 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
383 <param name="value">The value to write into the span of bytes.</param>
385 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.Half" />; otherwise, <see langword="false" />.</returns>
387 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteInt16BigEndian(System.Span{System.Byte},System.Int16)">
388 <summary>Writes an <see cref="T:System.Int16" /> into a span of bytes, as big endian.</summary>
389 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
390 <param name="value">The value to write into the span of bytes.</param>
392 <see langword="true" /> if the span is large enough to contain an <see cref="T:System.Int16" />; otherwise, <see langword="false" />.</returns>
394 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteInt16LittleEndian(System.Span{System.Byte},System.Int16)">
395 <summary>Writes an <see cref="T:System.Int16" /> into a span of bytes, as little endian.</summary>
396 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
397 <param name="value">The value to write into the span of bytes.</param>
399 <see langword="true" /> if the span is large enough to contain an <see cref="T:System.Int16" />; otherwise, <see langword="false" />.</returns>
401 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteInt32BigEndian(System.Span{System.Byte},System.Int32)">
402 <summary>Writes an <see cref="T:System.Int32" /> into a span of bytes, as big endian.</summary>
403 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
404 <param name="value">The value to write into the span of bytes.</param>
406 <see langword="true" /> if the span is large enough to contain an <see cref="T:System.Int32" />; otherwise, <see langword="false" />.</returns>
408 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteInt32LittleEndian(System.Span{System.Byte},System.Int32)">
409 <summary>Writes an <see cref="T:System.Int32" /> into a span of bytes, as little endian.</summary>
410 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
411 <param name="value">The value to write into the span of bytes.</param>
413 <see langword="true" /> if the span is large enough to contain an <see cref="T:System.Int32" />; otherwise, <see langword="false" />.</returns>
415 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteInt64BigEndian(System.Span{System.Byte},System.Int64)">
416 <summary>Writes an <see cref="T:System.Int64" /> into a span of bytes, as big endian.</summary>
417 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
418 <param name="value">The value to write into the span of bytes.</param>
420 <see langword="true" /> if the span is large enough to contain an <see cref="T:System.Int64" />; otherwise, <see langword="false" />.</returns>
422 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteInt64LittleEndian(System.Span{System.Byte},System.Int64)">
423 <summary>Writes an <see cref="T:System.Int64" /> into a span of bytes, as little endian.</summary>
424 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
425 <param name="value">The value to write into the span of bytes.</param>
427 <see langword="true" /> if the span is large enough to contain an <see cref="T:System.Int64" />; otherwise, <see langword="false" />.</returns>
429 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteSingleBigEndian(System.Span{System.Byte},System.Single)">
430 <summary>Writes a <see cref="T:System.Single" /> into a span of bytes, as big endian.</summary>
431 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
432 <param name="value">The value to write into the span of bytes.</param>
434 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.Single" />; otherwise, <see langword="false" />.</returns>
436 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteSingleLittleEndian(System.Span{System.Byte},System.Single)">
437 <summary>Writes a <see cref="T:System.Single" /> into a span of bytes, as little endian.</summary>
438 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
439 <param name="value">The value to write into the span of bytes.</param>
441 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.Single" />; otherwise, <see langword="false" />.</returns>
443 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteUInt16BigEndian(System.Span{System.Byte},System.UInt16)">
444 <summary>Writes a <see cref="T:System.UInt16" /> into a span of bytes, as big endian.</summary>
445 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
446 <param name="value">The value to write into the span of bytes.</param>
448 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.UInt16" />; otherwise, <see langword="false" />.</returns>
450 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteUInt16LittleEndian(System.Span{System.Byte},System.UInt16)">
451 <summary>Writes a <see cref="T:System.UInt16" /> into a span of bytes, as little endian.</summary>
452 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
453 <param name="value">The value to write into the span of bytes.</param>
455 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.UInt16" />; otherwise, <see langword="false" />.</returns>
457 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteUInt32BigEndian(System.Span{System.Byte},System.UInt32)">
458 <summary>Writes a <see cref="T:System.UInt32" /> into a span of bytes, as big endian.</summary>
459 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
460 <param name="value">The value to write into the span of bytes.</param>
462 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.UInt32" />; otherwise, <see langword="false" />.</returns>
464 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteUInt32LittleEndian(System.Span{System.Byte},System.UInt32)">
465 <summary>Writes a <see cref="T:System.UInt32" /> into a span of bytes, as little endian.</summary>
466 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
467 <param name="value">The value to write into the span of bytes.</param>
469 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.UInt32" />; otherwise, <see langword="false" />.</returns>
471 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteUInt64BigEndian(System.Span{System.Byte},System.UInt64)">
472 <summary>Writes a <see cref="T:System.UInt64" /> into a span of bytes, as big endian.</summary>
473 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
474 <param name="value">The value to write into the span of bytes.</param>
476 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.UInt64" />; otherwise, <see langword="false" />.</returns>
478 <member name="M:System.Buffers.Binary.BinaryPrimitives.TryWriteUInt64LittleEndian(System.Span{System.Byte},System.UInt64)">
479 <summary>Writes a <see cref="T:System.UInt64" /> into a span of bytes, as little endian.</summary>
480 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
481 <param name="value">The value to write into the span of bytes.</param>
483 <see langword="true" /> if the span is large enough to contain a <see cref="T:System.UInt64" />; otherwise, <see langword="false" />.</returns>
485 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteDoubleBigEndian(System.Span{System.Byte},System.Double)">
486 <summary>Writes a <see cref="T:System.Double" /> into a span of bytes, as big endian.</summary>
487 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
488 <param name="value">The value to write into the span of bytes.</param>
489 <exception cref="T:System.ArgumentOutOfRangeException">
490 <paramref name="destination" /> is too small to contain a <see cref="T:System.Double" />.</exception>
492 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteDoubleLittleEndian(System.Span{System.Byte},System.Double)">
493 <summary>Writes a <see cref="T:System.Double" /> into a span of bytes, as little endian.</summary>
494 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
495 <param name="value">The value to write into the span of bytes.</param>
496 <exception cref="T:System.ArgumentOutOfRangeException">
497 <paramref name="destination" /> is too small to contain a <see cref="T:System.Double" />.</exception>
499 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteHalfBigEndian(System.Span{System.Byte},System.Half)">
500 <summary>Writes a <see cref="T:System.Half" /> into a span of bytes, as big endian.</summary>
501 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
502 <param name="value">The value to write into the span of bytes.</param>
503 <exception cref="T:System.ArgumentOutOfRangeException">
504 <paramref name="destination" /> is too small to contain a <see cref="T:System.Half" />.</exception>
506 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteHalfLittleEndian(System.Span{System.Byte},System.Half)">
507 <summary>Writes a <see cref="T:System.Half" /> into a span of bytes, as little endian.</summary>
508 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
509 <param name="value">The value to write into the span of bytes.</param>
510 <exception cref="T:System.ArgumentOutOfRangeException">
511 <paramref name="destination" /> is too small to contain a <see cref="T:System.Half" />.</exception>
513 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteInt16BigEndian(System.Span{System.Byte},System.Int16)">
514 <summary>Writes an <see cref="T:System.Int16" /> into a span of bytes, as big endian.</summary>
515 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
516 <param name="value">The value to write into the span of bytes.</param>
517 <exception cref="T:System.ArgumentOutOfRangeException">
518 <paramref name="destination" /> is too small to contain an <see cref="T:System.Int16" />.</exception>
520 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteInt16LittleEndian(System.Span{System.Byte},System.Int16)">
521 <summary>Writes an <see cref="T:System.Int16" /> into a span of bytes, as little endian.</summary>
522 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
523 <param name="value">The value to write into the span of bytes.</param>
524 <exception cref="T:System.ArgumentOutOfRangeException">
525 <paramref name="destination" /> is too small to contain an <see cref="T:System.Int16" />.</exception>
527 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteInt32BigEndian(System.Span{System.Byte},System.Int32)">
528 <summary>Writes an <see cref="T:System.Int32" /> into a span of bytes, as big endian.</summary>
529 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
530 <param name="value">The value to write into the span of bytes.</param>
531 <exception cref="T:System.ArgumentOutOfRangeException">
532 <paramref name="destination" /> is too small to contain an <see cref="T:System.Int32" />.</exception>
534 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteInt32LittleEndian(System.Span{System.Byte},System.Int32)">
535 <summary>Writes an <see cref="T:System.Int32" /> into a span of bytes, as little endian.</summary>
536 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
537 <param name="value">The value to write into the span of bytes.</param>
538 <exception cref="T:System.ArgumentOutOfRangeException">
539 <paramref name="destination" /> is too small to contain an <see cref="T:System.Int32" />.</exception>
541 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteInt64BigEndian(System.Span{System.Byte},System.Int64)">
542 <summary>Writes an <see cref="T:System.Int64" /> into a span of bytes, as big endian.</summary>
543 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
544 <param name="value">The value to write into the span of bytes.</param>
545 <exception cref="T:System.ArgumentOutOfRangeException">
546 <paramref name="destination" /> is too small to contain an <see cref="T:System.Int64" />.</exception>
548 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteInt64LittleEndian(System.Span{System.Byte},System.Int64)">
549 <summary>Writes an <see cref="T:System.Int64" /> into a span of bytes, as little endian.</summary>
550 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
551 <param name="value">The value to write into the span of bytes.</param>
552 <exception cref="T:System.ArgumentOutOfRangeException">
553 <paramref name="destination" /> is too small to contain an <see cref="T:System.Int64" />.</exception>
555 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteSingleBigEndian(System.Span{System.Byte},System.Single)">
556 <summary>Writes a <see cref="T:System.Single" /> into a span of bytes, as big endian.</summary>
557 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
558 <param name="value">The value to write into the span of bytes.</param>
559 <exception cref="T:System.ArgumentOutOfRangeException">
560 <paramref name="destination" /> is too small to contain a <see cref="T:System.Single" />.</exception>
562 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteSingleLittleEndian(System.Span{System.Byte},System.Single)">
563 <summary>Writes a <see cref="T:System.Single" /> into a span of bytes, as little endian.</summary>
564 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
565 <param name="value">The value to write into the span of bytes.</param>
566 <exception cref="T:System.ArgumentOutOfRangeException">
567 <paramref name="destination" /> is too small to contain a <see cref="T:System.Single" />.</exception>
569 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteUInt16BigEndian(System.Span{System.Byte},System.UInt16)">
570 <summary>Writes a <see cref="T:System.UInt16" /> into a span of bytes, as big endian.</summary>
571 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
572 <param name="value">The value to write into the span of bytes.</param>
573 <exception cref="T:System.ArgumentOutOfRangeException">
574 <paramref name="destination" /> is too small to contain a <see cref="T:System.UInt16" />.</exception>
576 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteUInt16LittleEndian(System.Span{System.Byte},System.UInt16)">
577 <summary>Writes a <see cref="T:System.UInt16" /> into a span of bytes, as little endian.</summary>
578 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
579 <param name="value">The value to write into the span of bytes.</param>
580 <exception cref="T:System.ArgumentOutOfRangeException">
581 <paramref name="destination" /> is too small to contain a <see cref="T:System.UInt16" />.</exception>
583 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteUInt32BigEndian(System.Span{System.Byte},System.UInt32)">
584 <summary>Writes a <see cref="T:System.UInt32" /> into a span of bytes, as big endian.</summary>
585 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
586 <param name="value">The value to write into the span of bytes.</param>
587 <exception cref="T:System.ArgumentOutOfRangeException">
588 <paramref name="destination" /> is too small to contain a <see cref="T:System.UInt32" />.</exception>
590 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteUInt32LittleEndian(System.Span{System.Byte},System.UInt32)">
591 <summary>Writes a <see cref="T:System.UInt32" /> into a span of bytes, as little endian.</summary>
592 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
593 <param name="value">The value to write into the span of bytes.</param>
594 <exception cref="T:System.ArgumentOutOfRangeException">
595 <paramref name="destination" /> is too small to contain a <see cref="T:System.UInt32" />.</exception>
597 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteUInt64BigEndian(System.Span{System.Byte},System.UInt64)">
598 <summary>Writes a <see cref="T:System.UInt64" /> into a span of bytes, as big endian.</summary>
599 <param name="destination">The span of bytes where the value is to be written, as big endian.</param>
600 <param name="value">The value to write into the span of bytes.</param>
601 <exception cref="T:System.ArgumentOutOfRangeException">
602 <paramref name="destination" /> is too small to contain a <see cref="T:System.UInt64" />.</exception>
604 <member name="M:System.Buffers.Binary.BinaryPrimitives.WriteUInt64LittleEndian(System.Span{System.Byte},System.UInt64)">
605 <summary>Writes a <see cref="T:System.UInt64" /> into a span of bytes, as little endian.</summary>
606 <param name="destination">The span of bytes where the value is to be written, as little endian.</param>
607 <param name="value">The value to write into the span of bytes.</param>
608 <exception cref="T:System.ArgumentOutOfRangeException">
609 <paramref name="destination" /> is too small to contain a <see cref="T:System.UInt64" />.</exception>
611 <member name="T:System.Buffers.BuffersExtensions">
612 <summary>Provides extension methods for <see cref="T:System.Buffers.ReadOnlySequence`1" />.</summary>
614 <member name="M:System.Buffers.BuffersExtensions.CopyTo``1(System.Buffers.ReadOnlySequence{``0},System.Span{``0})">
615 <summary>Copies the <see cref="T:System.Buffers.ReadOnlySequence`1" /> to the specified <see cref="T:System.Span`1" />.</summary>
616 <param name="source">The source <see cref="T:System.Buffers.ReadOnlySequence`1" />.</param>
617 <param name="destination">The destination <see cref="T:System.Span`1" />.</param>
618 <typeparam name="T">The type of the items in the <see cref="T:System.Buffers.ReadOnlySequence`1" />.</typeparam>
620 <member name="M:System.Buffers.BuffersExtensions.PositionOf``1(System.Buffers.ReadOnlySequence{``0},``0)">
621 <summary>Returns the position of the first occurrence of <paramref name="item" /> in the <see cref="T:System.Buffers.ReadOnlySequence`1" />.</summary>
622 <param name="source">The source <see cref="T:System.Buffers.ReadOnlySequence`1" />.</param>
623 <param name="value">The item to find in the <see cref="T:System.Buffers.ReadOnlySequence`1" />.</param>
624 <typeparam name="T">The type of the items in the <see cref="T:System.Buffers.ReadOnlySequence`1" />.</typeparam>
625 <returns>An object whose <see cref="M:System.SequencePosition.GetInteger" /> method returns the position of the first occurrence of <paramref name="item" />, or an object whose <see langword="Nullable<SequencePosition>.HasValue" /> property is <see langword="false" /> .</returns>
627 <member name="M:System.Buffers.BuffersExtensions.ToArray``1(System.Buffers.ReadOnlySequence{``0})">
628 <summary>Converts the <see cref="T:System.Buffers.ReadOnlySequence`1" /> to an array.</summary>
629 <param name="sequence">The read-only sequence to convert to an array.</param>
630 <typeparam name="T">The type of the items in the <see cref="T:System.Buffers.ReadOnlySequence`1" />.</typeparam>
631 <returns>An array containing the data in the current read-only sequence.</returns>
633 <member name="M:System.Buffers.BuffersExtensions.Write``1(System.Buffers.IBufferWriter{``0},System.ReadOnlySpan{``0})">
634 <summary>Writes the contents of <paramref name="value" /> to <paramref name="writer" />.</summary>
635 <param name="writer">The buffer writer to which to write <paramref name="value" />.</param>
636 <param name="value">The read-only span to be written to <paramref name="writer" />.</param>
637 <typeparam name="T">The type of the items in the <see cref="T:System.ReadOnlySpan`1" />.</typeparam>
638 <exception cref="T:System.ArgumentOutOfRangeException">
639 <paramref name="writer" /> is shorter than <paramref name="value" />.</exception>
641 <member name="T:System.Buffers.IBufferWriter`1">
642 <summary>Represents an output sink into which <typeparamref name="T" /> data can be written.</summary>
643 <typeparam name="T">The type of the items in the <see cref="T:System.Buffers.IBufferWriter`1" />.</typeparam>
645 <member name="M:System.Buffers.IBufferWriter`1.Advance(System.Int32)">
646 <summary>Notifies the <see cref="T:System.Buffers.IBufferWriter`1" /> that <paramref name="count" /> data items were written to the output <see cref="T:System.Span`1" /> or <see cref="T:System.Memory`1" />.</summary>
647 <param name="count">The number of data items written to the <see cref="T:System.Span`1" /> or <see cref="T:System.Memory`1" />.</param>
649 <member name="M:System.Buffers.IBufferWriter`1.GetMemory(System.Int32)">
650 <summary>Returns a <see cref="T:System.Memory`1" /> to write to that is at least the requested size (specified by <paramref name="sizeHint" />).</summary>
651 <param name="sizeHint">The minimum length of the returned <see cref="T:System.Memory`1" />. If 0, a non-empty buffer is returned.</param>
652 <exception cref="T:System.OutOfMemoryException">The requested buffer size is not available.</exception>
653 <returns>A <see cref="T:System.Memory`1" /> of at least the size <paramref name="sizeHint" />. If <paramref name="sizeHint" /> is 0, returns a non-empty buffer.</returns>
655 <member name="M:System.Buffers.IBufferWriter`1.GetSpan(System.Int32)">
656 <summary>Returns a <see cref="T:System.Span`1" /> to write to that is at least the requested size (specified by <paramref name="sizeHint" />).</summary>
657 <param name="sizeHint">The minimum length of the returned <see cref="T:System.Span`1" />. If 0, a non-empty buffer is returned.</param>
658 <returns>A <see cref="T:System.Span`1" /> of at least the size <paramref name="sizeHint" />. If <paramref name="sizeHint" /> is 0, returns a non-empty buffer.</returns>
660 <member name="T:System.Buffers.MemoryPool`1">
661 <summary>Represents a pool of memory blocks.</summary>
662 <typeparam name="T">The type of the items in the memory pool.</typeparam>
664 <member name="M:System.Buffers.MemoryPool`1.#ctor">
665 <summary>Constructs a new instance of a memory pool.</summary>
667 <member name="M:System.Buffers.MemoryPool`1.Dispose">
668 <summary>Frees all resources used by the memory pool.</summary>
670 <member name="M:System.Buffers.MemoryPool`1.Dispose(System.Boolean)">
671 <summary>Frees the unmanaged resources used by the memory pool and optionally releases the managed resources.</summary>
672 <param name="disposing">
673 <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
675 <member name="M:System.Buffers.MemoryPool`1.Rent(System.Int32)">
676 <summary>Returns a memory block capable of holding at least <paramref name="minBufferSize" /> elements of T.</summary>
677 <param name="minBufferSize">The minimum number of elements of <typeparamref name="T" /> that the memory pool can hold. A value of -1 returns a memory pool set to the default size for the pool.</param>
678 <returns>A memory block capable of holding at least <paramref name="minBufferSize" /> elements of T.</returns>
680 <member name="P:System.Buffers.MemoryPool`1.MaxBufferSize">
681 <summary>Gets the maximum buffer size supported by this pool.</summary>
682 <returns>The maximum buffer size supported by this pool.</returns>
684 <member name="P:System.Buffers.MemoryPool`1.Shared">
685 <summary>Gets a singleton instance of a memory pool based on arrays.</summary>
686 <returns>A singleton instance of a memory pool.</returns>
688 <member name="T:System.Buffers.ReadOnlySequence`1">
689 <summary>Represents a sequence that can read a sequential series of <typeparamref name="T" />.</summary>
690 <typeparam name="T">The type of the elements in the read-only sequence.</typeparam>
692 <member name="F:System.Buffers.ReadOnlySequence`1.Empty">
693 <summary>Returns an empty <see cref="T:System.Buffers.ReadOnlySequence`1" />.</summary>
695 <member name="M:System.Buffers.ReadOnlySequence`1.#ctor(`0[])">
696 <summary>Creates an instance of <see cref="T:System.Buffers.ReadOnlySequence`1" /> from the <paramref name="array" />.</summary>
697 <param name="array">The array from which to create a read-only sequence.</param>
699 <member name="M:System.Buffers.ReadOnlySequence`1.#ctor(`0[],System.Int32,System.Int32)">
700 <summary>Creates an instance of a <see cref="T:System.Buffers.ReadOnlySequence`1" /> from a section of an array.</summary>
701 <param name="array">The array from which to create the read-only sequence.</param>
702 <param name="start">The zero-based index of the first element in the array to include in the read-only sequence.</param>
703 <param name="length">The number of elements to include in the read-only sequence.</param>
705 <member name="M:System.Buffers.ReadOnlySequence`1.#ctor(System.Buffers.ReadOnlySequenceSegment{`0},System.Int32,System.Buffers.ReadOnlySequenceSegment{`0},System.Int32)">
706 <summary>Creates an instance of a <see cref="T:System.Buffers.ReadOnlySequence`1" /> from a linked memory list represented by start and end segments and the corresponding indexes in them.</summary>
707 <param name="startSegment">The initial node of the linked memory list.</param>
708 <param name="startIndex">The position to the start of the sequence inside <paramref name="startSegment" />.</param>
709 <param name="endSegment">The final node of the linked memory list.</param>
710 <param name="endIndex">The position to the end of the sequence inside <paramref name="endSegment" />.</param>
711 <exception cref="T:System.ArgumentNullException">
712 <paramref name="startSegment" /> or <paramref name="endSegment" /> is <see langword="null" />.</exception>
713 <exception cref="T:System.ArgumentOutOfRangeException">The running index of <paramref name="startSegment" /> is greater than the running index of <paramref name="endSegment" />, even though <paramref name="startSegment" /> is different to <paramref name="endSegment" />.
717 <paramref name="startSegment" /> is equal to <paramref name="endSegment" /> but <paramref name="endIndex" /> is smaller than <paramref name="startIndex" />.
721 <paramref name="startIndex" /> is greater than the length of the underlying memory block of <paramref name="startSegment" />.</exception>
723 <member name="M:System.Buffers.ReadOnlySequence`1.#ctor(System.ReadOnlyMemory{`0})">
724 <summary>Creates an instance of <see cref="T:System.Buffers.ReadOnlySequence`1" /> from a <see cref="T:System.ReadOnlyMemory`1" />.</summary>
725 <param name="memory">A read-only block of memory of elements of type <typeparamref name="T" />.</param>
727 <member name="M:System.Buffers.ReadOnlySequence`1.GetEnumerator">
728 <summary>Returns an enumerator over the <see cref="T:System.Buffers.ReadOnlySequence`1" />.</summary>
729 <returns>Returns an enumerator over the <see cref="T:System.Buffers.ReadOnlySequence`1" />.</returns>
731 <member name="M:System.Buffers.ReadOnlySequence`1.GetOffset(System.SequencePosition)">
732 <summary>Returns the offset of a <paramref name="position" /> within this sequence from the start.</summary>
733 <param name="position">The <see cref="T:System.SequencePosition" /> of which to get the offset.</param>
734 <exception cref="T:System.ArgumentOutOfRangeException">The position is out of range.</exception>
735 <returns>The offset from the start of the sequence.</returns>
737 <member name="M:System.Buffers.ReadOnlySequence`1.GetPosition(System.Int64)">
738 <summary>Returns a new <see cref="T:System.SequencePosition" /> at an <paramref name="offset" /> from the start of the sequence.</summary>
739 <param name="offset">The offset from the start of the sequence.</param>
740 <returns>An object representing the sequence position that starts at the specified <paramref name="offset" /> from the start of the sequence.</returns>
742 <member name="M:System.Buffers.ReadOnlySequence`1.GetPosition(System.Int64,System.SequencePosition)">
743 <summary>Returns a new <see cref="T:System.SequencePosition" /> starting at the specified offset from the <paramref name="origin" /> position.</summary>
744 <param name="offset">The offset from the specified <paramref name="origin" /> sequence position.</param>
745 <param name="origin">A sequence position representing the point from which to initiate the offset.</param>
746 <returns>An object representing the sequence position that starts at the <paramref name="offset" /> position of the specified <paramref name="origin" /> position object.</returns>
748 <member name="M:System.Buffers.ReadOnlySequence`1.Slice(System.Int32,System.Int32)">
749 <summary>Forms a slice out of the current <see cref="T:System.Buffers.ReadOnlySequence`1" />, beginning at <paramref name="start" />, with <paramref name="length" /> items.</summary>
750 <param name="start">The index at which to begin this slice.</param>
751 <param name="length">The length of the slice.</param>
752 <returns>A slice that consists of <paramref name="length" /> elements from the current instance starting at index <paramref name="start" />.</returns>
754 <member name="M:System.Buffers.ReadOnlySequence`1.Slice(System.Int32,System.SequencePosition)">
755 <summary>Forms a slice out of the current <see cref="T:System.Buffers.ReadOnlySequence`1" />, beginning at <paramref name="start" /> and ending at <paramref name="end" /> (exclusive).</summary>
756 <param name="start">The index at which to begin this slice.</param>
757 <param name="end">The end (exclusive) <see cref="T:System.SequencePosition" /> of the slice.</param>
758 <returns>A slice that consists of items from the <paramref name="start" /> index to, but not including, the <paramref name="end" /> sequence position in the current read-only sequence.</returns>
760 <member name="M:System.Buffers.ReadOnlySequence`1.Slice(System.Int64)">
761 <summary>Forms a slice out of the current <see cref="T:System.Buffers.ReadOnlySequence`1" />, beginning at a specified index and continuing to the end of the read-only sequence.</summary>
762 <param name="start">The start index at which to begin this slice.</param>
763 <returns>A slice starting at index <paramref name="start" /> and continuing to the end of the current read-only sequence.</returns>
765 <member name="M:System.Buffers.ReadOnlySequence`1.Slice(System.Int64,System.Int64)">
766 <summary>Forms a slice out of the given <see cref="T:System.Buffers.ReadOnlySequence`1" />, beginning at <paramref name="start" />, with <paramref name="length" /> items.</summary>
767 <param name="start">The index at which to begin this slice.</param>
768 <param name="length">The length of the slice.</param>
769 <returns>A slice that consists of <paramref name="length" /> elements from the current instance starting at index <paramref name="start" />.</returns>
771 <member name="M:System.Buffers.ReadOnlySequence`1.Slice(System.Int64,System.SequencePosition)">
772 <summary>Forms a slice out of the current <see cref="T:System.Buffers.ReadOnlySequence`1" />, beginning at <paramref name="start" /> and ending at <paramref name="end" /> (exclusive).</summary>
773 <param name="start">The index at which to begin this slice.</param>
774 <param name="end">The end (exclusive) of the slice.</param>
775 <returns>A slice that consists of items from the <paramref name="start" /> index to, but not including, the <paramref name="end" /> sequence position in the current read-only sequence.</returns>
777 <member name="M:System.Buffers.ReadOnlySequence`1.Slice(System.SequencePosition)">
778 <summary>Forms a slice out of the current <see cref="T:System.Buffers.ReadOnlySequence`1" />, beginning at a specified sequence position and continuing to the end of the read-only sequence.</summary>
779 <param name="start">The starting (inclusive) <see cref="T:System.SequencePosition" /> at which to begin this slice.</param>
780 <returns>A slice starting at sequence position <paramref name="start" /> and continuing to the end of the current read-only sequence.</returns>
782 <member name="M:System.Buffers.ReadOnlySequence`1.Slice(System.SequencePosition,System.Int32)">
783 <summary>Forms a slice out of the current <see cref="T:System.Buffers.ReadOnlySequence`1" />, beginning at <paramref name="start" />, with <paramref name="length" /> items.</summary>
784 <param name="start">The starting (inclusive) <see cref="T:System.SequencePosition" /> at which to begin this slice.</param>
785 <param name="length">The length of the slice.</param>
786 <returns>A slice that consists of <paramref name="length" /> elements from the current instance starting at sequence position <paramref name="start" />.</returns>
788 <member name="M:System.Buffers.ReadOnlySequence`1.Slice(System.SequencePosition,System.Int64)">
789 <summary>Forms a slice out of the current <see cref="T:System.Buffers.ReadOnlySequence`1" />, beginning at <paramref name="start" />, with <paramref name="length" /> items.</summary>
790 <param name="start">The starting (inclusive) <see cref="T:System.SequencePosition" /> at which to begin this slice.</param>
791 <param name="length">The length of the slice.</param>
792 <returns>A slice that consists of <paramref name="length" /> elements from the current instance starting at sequence position <paramref name="start" />.</returns>
794 <member name="M:System.Buffers.ReadOnlySequence`1.Slice(System.SequencePosition,System.SequencePosition)">
795 <summary>Forms a slice out of the current <see cref="T:System.Buffers.ReadOnlySequence`1" />, beginning at <paramref name="start" /> and ending at <paramref name="end" /> (exclusive).</summary>
796 <param name="start">The starting (inclusive) <see cref="T:System.SequencePosition" /> at which to begin this slice.</param>
797 <param name="end">The ending (exclusive) <see cref="T:System.SequencePosition" /> of the slice.</param>
798 <returns>A slice that consists of items from the <paramref name="start" /> sequence position to, but not including, the <paramref name="end" /> sequence position in the current read-only sequence.</returns>
800 <member name="M:System.Buffers.ReadOnlySequence`1.ToString">
801 <summary>Returns a string that represents the current sequence.</summary>
802 <returns>A string that represents the current sequence.</returns>
804 <member name="M:System.Buffers.ReadOnlySequence`1.TryGet(System.SequencePosition@,System.ReadOnlyMemory{`0}@,System.Boolean)">
805 <summary>Tries to retrieve the next segment after <paramref name="position" /> and returns a value that indicates whether the operation succeeded.</summary>
806 <param name="position">The current sequence position.</param>
807 <param name="memory">A read-only memory span that contains the next segment after <paramref name="position" />.</param>
808 <param name="advance">
809 <see langword="true" /> if <paramref name="position" /> should to the beginning of next segment; otherwise, <see langword="false" />.</param>
810 <returns>Returns <see langword="true" /> if the method returned the next segment, or <see langword="false" /> if the end of the read-only sequence was reached.</returns>
812 <member name="P:System.Buffers.ReadOnlySequence`1.End">
813 <summary>Gets the position at the end of the <see cref="T:System.Buffers.ReadOnlySequence`1" />.</summary>
815 <member name="P:System.Buffers.ReadOnlySequence`1.First">
816 <summary>Gets the <see cref="T:System.ReadOnlyMemory`1" /> from the first segment.</summary>
818 <member name="P:System.Buffers.ReadOnlySequence`1.FirstSpan">
819 <summary>Gets the <see cref="T:System.ReadOnlySpan`1" /> from the first segment.</summary>
821 <member name="P:System.Buffers.ReadOnlySequence`1.IsEmpty">
822 <summary>Gets a value that indicates whether the <see cref="T:System.Buffers.ReadOnlySequence`1" /> is empty.</summary>
824 <member name="P:System.Buffers.ReadOnlySequence`1.IsSingleSegment">
825 <summary>Gets a value that indicates whether the <see cref="T:System.Buffers.ReadOnlySequence`1" /> contains a single <see cref="T:System.ReadOnlyMemory`1" /> segment.</summary>
827 <see langword="true" /> if the read-only sequence is empty; otherwise, <see langword="false" />.</returns>
829 <member name="P:System.Buffers.ReadOnlySequence`1.Length">
830 <summary>Gets the length of the <see cref="T:System.Buffers.ReadOnlySequence`1" />.</summary>
831 <returns>The length of the read-only sequence.</returns>
833 <member name="P:System.Buffers.ReadOnlySequence`1.Start">
834 <summary>Gets the position to the start of the <see cref="T:System.Buffers.ReadOnlySequence`1" />.</summary>
836 <member name="T:System.Buffers.ReadOnlySequence`1.Enumerator">
837 <summary>Represents an enumerator over a <see cref="T:System.Buffers.ReadOnlySequence`1" />.</summary>
838 <typeparam name="T" />
840 <member name="M:System.Buffers.ReadOnlySequence`1.Enumerator.#ctor(System.Buffers.ReadOnlySequence{`0}@)">
841 <summary>Initializes the enumerator.</summary>
842 <param name="sequence">The <see cref="T:System.Buffers.ReadOnlySequence`1" /> to enumerate.</param>
844 <member name="M:System.Buffers.ReadOnlySequence`1.Enumerator.MoveNext">
845 <summary>Moves to the next <see cref="T:System.ReadOnlyMemory`1" /> in the <see cref="T:System.Buffers.ReadOnlySequence`1" />.</summary>
847 <see langword="true" /> if the enumerator successfully advanced to the next item; <see langword="false" /> if the end of the sequence has been reached.</returns>
849 <member name="P:System.Buffers.ReadOnlySequence`1.Enumerator.Current">
850 <summary>Gets the current <see cref="T:System.ReadOnlyMemory`1" />.</summary>
851 <returns>The current <see cref="T:System.ReadOnlyMemory`1" />.</returns>
853 <member name="T:System.Buffers.ReadOnlySequenceSegment`1">
854 <summary>Represents a linked list of <see cref="T:System.ReadOnlyMemory`1" /> nodes.</summary>
855 <typeparam name="T">The type of the elements in the read-only sequence segment.</typeparam>
857 <member name="M:System.Buffers.ReadOnlySequenceSegment`1.#ctor">
858 <summary>Initializes a new instance of the <see cref="T:System.Buffers.ReadOnlySequenceSegment`1" /> class.</summary>
860 <member name="P:System.Buffers.ReadOnlySequenceSegment`1.Memory">
861 <summary>Gets or sets a <see cref="T:System.ReadOnlyMemory`1" /> value for the current node.</summary>
862 <returns>A <see cref="T:System.ReadOnlyMemory`1" /> value for the current node.</returns>
864 <member name="P:System.Buffers.ReadOnlySequenceSegment`1.Next">
865 <summary>Gets or sets the next node.</summary>
866 <returns>The next node.</returns>
868 <member name="P:System.Buffers.ReadOnlySequenceSegment`1.RunningIndex">
869 <summary>Gets or sets the sum of node lengths before the current node.</summary>
870 <returns>The sum of node lengths before the current node.</returns>
872 <member name="T:System.Buffers.SequenceReader`1">
873 <summary>Provides methods for reading binary and text data out of a <see cref="T:System.Buffers.ReadOnlySequence`1" /> with a focus on performance and minimal or zero heap allocations.</summary>
874 <typeparam name="T">The type of the read-only sequence.</typeparam>
876 <member name="M:System.Buffers.SequenceReader`1.#ctor(System.Buffers.ReadOnlySequence{`0})">
877 <summary>Creates a <see cref="T:System.Buffers.SequenceReader`1" /> over a given <see cref="T:System.Buffers.ReadOnlySequence`1" />.</summary>
878 <param name="sequence">The read-only sequence over which to create the <see cref="T:System.Buffers.SequenceReader`1" />.</param>
880 <member name="M:System.Buffers.SequenceReader`1.Advance(System.Int64)">
881 <summary>Moves the reader ahead a specified number of items.</summary>
882 <param name="count">The number of items to advance.</param>
884 <member name="M:System.Buffers.SequenceReader`1.AdvancePast(`0)">
885 <summary>Advances past consecutive instances of the given <paramref name="value" />.</summary>
886 <param name="value">The value past which the reader is to advance.</param>
887 <returns>The number of positions the reader has advanced.</returns>
889 <member name="M:System.Buffers.SequenceReader`1.AdvancePastAny(`0,`0)">
890 <summary>Advances past consecutive instances of either of two specified values.</summary>
891 <param name="value0">The first value to skip.</param>
892 <param name="value1">The second value to skip.</param>
893 <returns>The number of positions the reader has advanced.</returns>
895 <member name="M:System.Buffers.SequenceReader`1.AdvancePastAny(`0,`0,`0)">
896 <summary>Advances past consecutive instances of any of three specified values.</summary>
897 <param name="value0">The first value to skip.</param>
898 <param name="value1">The second value to skip.</param>
899 <param name="value2">The third value to skip.</param>
900 <returns>The number of positions the reader has advanced.</returns>
902 <member name="M:System.Buffers.SequenceReader`1.AdvancePastAny(`0,`0,`0,`0)">
903 <summary>Advances past consecutive instances of any of four specified values.</summary>
904 <param name="value0">The first value to skip.</param>
905 <param name="value1">The second value to skip.</param>
906 <param name="value2">The third value to skip.</param>
907 <param name="value3">The fourth value to skip.</param>
908 <returns>The number of positions the reader has advanced.</returns>
910 <member name="M:System.Buffers.SequenceReader`1.AdvancePastAny(System.ReadOnlySpan{`0})">
911 <summary>Skips consecutive instances of any of the specified <paramref name="values" />.</summary>
912 <param name="values">The values to be skipped.</param>
913 <returns>The number of positions the reader has advanced.</returns>
915 <member name="M:System.Buffers.SequenceReader`1.AdvanceToEnd">
916 <summary>Moves the reader to the end of the sequence.</summary>
918 <member name="M:System.Buffers.SequenceReader`1.IsNext(`0,System.Boolean)">
919 <summary>Checks whether a specified value is next in the sequence.</summary>
920 <param name="next">The value to compare the next items to.</param>
921 <param name="advancePast">
922 <see langword="true" /> to move past the <paramref name="next" /> values if they are found; otherwise, <see langword="false" />.</param>
924 <see langword="true" /> if the values are next in sequence; otherwise, <see langword="false" />.</returns>
926 <member name="M:System.Buffers.SequenceReader`1.IsNext(System.ReadOnlySpan{`0},System.Boolean)">
927 <summary>Checks whether the values specified in a read-only span are next in the sequence.</summary>
928 <param name="next">The span to compare the next items to.</param>
929 <param name="advancePast">
930 <see langword="true" /> to move past the <paramref name="next" /> values if they are found; otherwise, <see langword="false" />.</param>
932 <see langword="true" /> if the values are next in sequence; otherwise, <see langword="false" />.</returns>
934 <member name="M:System.Buffers.SequenceReader`1.Rewind(System.Int64)">
935 <summary>Moves the reader back the specified number of items.</summary>
936 <param name="count">The number of items.</param>
937 <exception cref="T:System.ArgumentOutOfRangeException">
938 <paramref name="count" /> is negative or greater than <see cref="P:System.Buffers.SequenceReader`1.Consumed" />.</exception>
940 <member name="M:System.Buffers.SequenceReader`1.TryAdvanceTo(`0,System.Boolean)">
941 <summary>Searches for a specified delimiter and optionally advances past it if it is found.</summary>
942 <param name="delimiter">The delimiter to search for.</param>
943 <param name="advancePastDelimiter">
944 <see langword="true" /> to move past the <paramref name="delimiter" /> if it is found; otherwise, <see langword="false" />.</param>
946 <see langword="true" /> if the given <paramref name="delimiter" /> was found; otherwise, <see langword="false" />.</returns>
948 <member name="M:System.Buffers.SequenceReader`1.TryAdvanceToAny(System.ReadOnlySpan{`0},System.Boolean)">
949 <summary>Searches for any of a number of specified delimiters and optionally advances past the first one to be found.</summary>
950 <param name="delimiters">The delimiters to search for.</param>
951 <param name="advancePastDelimiter">
952 <see langword="true" /> to move past the first instance of any of the given <paramref name="delimiters" />; <see langword="false" /> to not move past the delimiter.</param>
954 <see langword="true" /> if any of the given <paramref name="delimiters" /> was found; otherwise, <see langword="false" />.</returns>
956 <member name="M:System.Buffers.SequenceReader`1.TryCopyTo(System.Span{`0})">
957 <summary>Copies data from the current position to the given destination span if there is enough data to fill it.</summary>
958 <param name="destination">Destination span to copy to.</param>
960 <see langword="true" /> if there is enough data to completely fill the <paramref name="destination" /> span; otherwise, <see langword="false" />.</returns>
962 <member name="M:System.Buffers.SequenceReader`1.TryPeek(`0@)">
963 <summary>Peeks at the next value without advancing the reader.</summary>
964 <param name="value">The next value, or the default value if at the end of the reader.</param>
966 <see langword="true" /> if the reader is not at its end and the peek operation succeeded; <see langword="false" /> if at the end of the reader.</returns>
968 <member name="M:System.Buffers.SequenceReader`1.TryPeek(System.Int64,`0@)">
969 <summary>Peeks at the next value at the specified offset without advancing the reader.</summary>
970 <param name="offset">The offset from current position.</param>
971 <param name="value">The next value, or the default value if at the end of the reader.</param>
973 <see langword="true" /> if the reader is not at its end and the peek operation succeeded; <see langword="false" /> if at the end of the reader.</returns>
975 <member name="M:System.Buffers.SequenceReader`1.TryRead(`0@)">
976 <summary>Reads the next value and advance the reader.</summary>
977 <param name="value">The next value, or the default value if at the end of the reader.</param>
979 <see langword="true" /> if the reader is not at its end and the read operation succeeded; <see langword="false" /> if at the end of the reader.</returns>
981 <member name="M:System.Buffers.SequenceReader`1.TryReadTo(System.Buffers.ReadOnlySequence{`0}@,`0,`0,System.Boolean)">
982 <summary>Tries to read everything up to the given <paramref name="delimiter" />, ignoring delimiters that are preceded by <paramref name="delimiterEscape" />.</summary>
983 <param name="sequence">When the method returns, contains the data read, if any.</param>
984 <param name="delimiter">The delimiter to look for.</param>
985 <param name="delimiterEscape">A value that indicates that an immediately following <paramref name="delimiter" /> is to be skipped.</param>
986 <param name="advancePastDelimiter">
987 <see langword="true" /> to move past the <paramref name="delimiter" /> if found; otherwise, <see langword="false" />.</param>
989 <see langword="true" /> if the <paramref name="delimiter" /> was found; otherwise, <see langword="false" />.</returns>
991 <member name="M:System.Buffers.SequenceReader`1.TryReadTo(System.Buffers.ReadOnlySequence{`0}@,`0,System.Boolean)">
992 <summary>Tries to read everything up to the given <paramref name="delimiter" />.</summary>
993 <param name="sequence">When the method returns, contains the data read, if any.</param>
994 <param name="delimiter">The delimiter to look for.</param>
995 <param name="advancePastDelimiter">
996 <see langword="true" /> to move past the <paramref name="delimiter" /> if found; otherwise, <see langword="false" />.</param>
998 <see langword="true" /> if the <paramref name="delimiter" /> was found; otherwise, <see langword="false" />.</returns>
1000 <member name="M:System.Buffers.SequenceReader`1.TryReadTo(System.Buffers.ReadOnlySequence{`0}@,System.ReadOnlySpan{`0},System.Boolean)">
1001 <summary>Tries to read data until the entire delimiter specified as a read-only span matches.</summary>
1002 <param name="sequence">When the method returns, contains the data read, if any.</param>
1003 <param name="delimiter">A read-only span that contains one or more delimiters.</param>
1004 <param name="advancePastDelimiter">
1005 <see langword="true" /> to move past the <paramref name="delimiter" /> if found; otherwise, <see langword="false" />.</param>
1007 <see langword="true" /> if the <paramref name="delimiter" /> was found; otherwise, <see langword="false" />.</returns>
1009 <member name="M:System.Buffers.SequenceReader`1.TryReadTo(System.ReadOnlySpan{`0}@,`0,`0,System.Boolean)">
1010 <summary>Tries to read everything up to the given <paramref name="delimiter" />, ignoring delimiters that are preceded by <paramref name="delimiterEscape" />.</summary>
1011 <param name="span">When the method returns, contains the data read, if any.</param>
1012 <param name="delimiter">The delimiter to look for.</param>
1013 <param name="delimiterEscape">A value that indicates that an immediately following <paramref name="delimiter" /> is to be skipped.</param>
1014 <param name="advancePastDelimiter">
1015 <see langword="true" /> to move past the <paramref name="delimiter" /> if found; otherwise, <see langword="false" />.</param>
1017 <see langword="true" /> if the <paramref name="delimiter" /> was found; otherwise, <see langword="false" />.</returns>
1019 <member name="M:System.Buffers.SequenceReader`1.TryReadTo(System.ReadOnlySpan{`0}@,`0,System.Boolean)">
1020 <summary>Tries to read everything up to the given <paramref name="delimiter" />.</summary>
1021 <param name="span">When the method returns, contains the data read, if any.</param>
1022 <param name="delimiter">The delimiter to look for.</param>
1023 <param name="advancePastDelimiter">
1024 <see langword="true" /> to move past the <paramref name="delimiter" /> if found; otherwise, <see langword="false" />.</param>
1026 <see langword="true" /> if the <paramref name="delimiter" /> was found; otherwise, <see langword="false" />.</returns>
1028 <member name="M:System.Buffers.SequenceReader`1.TryReadTo(System.ReadOnlySpan{`0}@,System.ReadOnlySpan{`0},System.Boolean)">
1029 <summary>Try to read everything up to the given <paramref name="delimiter" />.</summary>
1030 <param name="sequence">The read data, if any.</param>
1031 <param name="delimiter">The delimiter to look for.</param>
1032 <param name="advancePastDelimiter">
1033 <see langword="true" /> to move past the <paramref name="delimiter" /> if found.</param>
1034 <param name="span">The read data, if any.</param>
1036 <see langword="true" /> if the <paramref name="delimiter" /> was found; otherwise, <see langword="false" />.</returns>
1038 <member name="M:System.Buffers.SequenceReader`1.TryReadToAny(System.Buffers.ReadOnlySequence{`0}@,System.ReadOnlySpan{`0},System.Boolean)">
1039 <summary>Tries to read everything up to any of the specified <paramref name="delimiters" />.</summary>
1040 <param name="sequence">When the method returns, contains the data read, if any.</param>
1041 <param name="delimiters">The delimiters to look for.</param>
1042 <param name="advancePastDelimiter">
1043 <see langword="true" /> to move past the first found instance of any of the given <paramref name="delimiters" />; otherwise, <see langword="false" />.</param>
1045 <see langword="true" /> if any of the <paramref name="delimiters" /> were found; otherwise, <see langword="false" />.</returns>
1047 <member name="M:System.Buffers.SequenceReader`1.TryReadToAny(System.ReadOnlySpan{`0}@,System.ReadOnlySpan{`0},System.Boolean)">
1048 <summary>Tries to read everything up to any of the specified <paramref name="delimiters" />.</summary>
1049 <param name="span">When the method returns, contains the data read, if any.</param>
1050 <param name="delimiters">The delimiters to look for.</param>
1051 <param name="advancePastDelimiter">
1052 <see langword="true" /> to move past the first found instance of any of the given <paramref name="delimiters" />; otherwise, <see langword="false" />.</param>
1054 <see langword="true" /> if any of the <paramref name="delimiters" /> were found; otherwise, <see langword="false" />.</returns>
1056 <member name="P:System.Buffers.SequenceReader`1.Consumed">
1057 <summary>Gets the total number of <typeparamref name="T" /> values processed by the reader.</summary>
1058 <returns>The total number of values processed by the reader.</returns>
1060 <member name="P:System.Buffers.SequenceReader`1.CurrentSpan">
1061 <summary>Gets a <see cref="T:System.Span`1" /> that contains the current segment in the <see cref="P:System.Buffers.SequenceReader`1.Sequence" />.</summary>
1062 <returns>A span that contains the current segment in the sequence.</returns>
1064 <member name="P:System.Buffers.SequenceReader`1.CurrentSpanIndex">
1065 <summary>Gets the index in the <see cref="P:System.Buffers.SequenceReader`1.CurrentSpan" />.</summary>
1066 <returns>The index in the <see cref="P:System.Buffers.SequenceReader`1.CurrentSpan" />.</returns>
1068 <member name="P:System.Buffers.SequenceReader`1.End">
1069 <summary>Gets a value that indicates whether there is no more data in the <see cref="P:System.Buffers.SequenceReader`1.Sequence" />.</summary>
1071 <see langword="true" /> when there is no more data in the <see cref="P:System.Buffers.SequenceReader`1.Sequence" />; otherwise, <see langword="false" />.</returns>
1073 <member name="P:System.Buffers.SequenceReader`1.Length">
1074 <summary>Gets the count of items in the reader's <see cref="P:System.Buffers.SequenceReader`1.Sequence" />.</summary>
1075 <returns>The count of items in the reader's <see cref="P:System.Buffers.SequenceReader`1.Sequence" />.</returns>
1077 <member name="P:System.Buffers.SequenceReader`1.Position">
1078 <summary>Gets the current position in the <see cref="P:System.Buffers.SequenceReader`1.Sequence" />.</summary>
1079 <returns>The current position in the <see cref="P:System.Buffers.SequenceReader`1.Sequence" />.</returns>
1081 <member name="P:System.Buffers.SequenceReader`1.Remaining">
1082 <summary>Gets the remaining items in the reader's <see cref="P:System.Buffers.SequenceReader`1.Sequence" />.</summary>
1083 <returns>The remaining items in the reader's <see cref="P:System.Buffers.SequenceReader`1.Sequence" /></returns>
1085 <member name="P:System.Buffers.SequenceReader`1.Sequence">
1086 <summary>Gets the underlying <see cref="T:System.Buffers.ReadOnlySequence`1" /> for the reader.</summary>
1087 <returns>The underlying read-only sequence for the reader.</returns>
1089 <member name="P:System.Buffers.SequenceReader`1.UnreadSequence">
1090 <summary>Gets the unread portion of the <see cref="P:System.Buffers.SequenceReader`1.Sequence" />.</summary>
1091 <returns>The unread portion of the <see cref="P:System.Buffers.SequenceReader`1.Sequence" />.</returns>
1093 <member name="P:System.Buffers.SequenceReader`1.UnreadSpan">
1094 <summary>Gets the unread portion of the <see cref="P:System.Buffers.SequenceReader`1.CurrentSpan" />.</summary>
1095 <returns>The unread portion of the <see cref="P:System.Buffers.SequenceReader`1.CurrentSpan" />.</returns>
1097 <member name="T:System.Buffers.SequenceReaderExtensions">
1098 <summary>Provides extended functionality for the <see cref="T:System.Buffers.SequenceReader`1" /> class that allows reading of endian specific numeric values from binary data.</summary>
1100 <member name="M:System.Buffers.SequenceReaderExtensions.TryReadBigEndian(System.Buffers.SequenceReader{System.Byte},System.Int16@)">
1101 <summary>Tries to read an <see cref="T:System.Int16" /> as big endian.</summary>
1102 <param name="reader">The byte sequence reader instance from which the value is to be read.</param>
1103 <param name="value">When the method returns, the value read out of the byte sequence reader, as big endian.</param>
1105 <see langword="true" /> if the read operation is successful; <see langword="false" /> if there isn't enough data for an <see cref="T:System.Int16" />.</returns>
1107 <member name="M:System.Buffers.SequenceReaderExtensions.TryReadBigEndian(System.Buffers.SequenceReader{System.Byte},System.Int32@)">
1108 <summary>Tries to read an <see cref="T:System.Int32" /> as big endian.</summary>
1109 <param name="reader">The byte sequence reader from which to read the value.</param>
1110 <param name="value">When the method returns, the value read out of the byte sequence reader, as big endian.</param>
1112 <see langword="true" /> if the read operation is successful; <see langword="false" /> if there isn't enough data for an <see cref="T:System.Int32" />.</returns>
1114 <member name="M:System.Buffers.SequenceReaderExtensions.TryReadBigEndian(System.Buffers.SequenceReader{System.Byte},System.Int64@)">
1115 <summary>Tries to read an <see cref="T:System.Int64" /> as big endian.</summary>
1116 <param name="reader">The byte sequence reader instance from which the value is to be read.</param>
1117 <param name="value">When the method returns, the value read out of the byte sequence reader, as big endian.</param>
1119 <see langword="true" /> if the read operation is successful; <see langword="false" /> if there isn't enough data for an <see cref="T:System.Int64" />.</returns>
1121 <member name="M:System.Buffers.SequenceReaderExtensions.TryReadLittleEndian(System.Buffers.SequenceReader{System.Byte},System.Int16@)">
1122 <summary>Tries to read an <see cref="T:System.Int16" /> as little endian.</summary>
1123 <param name="reader">The byte sequence reader instance from which the value is to be read.</param>
1124 <param name="value">When the method returns, the value read out of the byte sequence reader, as little endian.</param>
1126 <see langword="true" /> if the read operation is successful; <see langword="false" /> if there isn't enough data for an <see cref="T:System.Int16" />.</returns>
1128 <member name="M:System.Buffers.SequenceReaderExtensions.TryReadLittleEndian(System.Buffers.SequenceReader{System.Byte},System.Int32@)">
1129 <summary>Tries to read an <see cref="T:System.Int32" /> as little endian.</summary>
1130 <param name="reader">The byte sequence reader instance from which the value is to be read.</param>
1131 <param name="value">When the method returns, the value read out of the byte sequence reader, as little endian.</param>
1133 <see langword="true" /> if the read operation is successful; <see langword="false" /> if there isn't enough data for an <see cref="T:System.Int32" />.</returns>
1135 <member name="M:System.Buffers.SequenceReaderExtensions.TryReadLittleEndian(System.Buffers.SequenceReader{System.Byte},System.Int64@)">
1136 <summary>Tries to read an <see cref="T:System.Int64" /> as little endian.</summary>
1137 <param name="reader">The byte sequence reader instance from which the value is to be read.</param>
1138 <param name="value">When the method returns, the value read out of the byte sequence reader, as little endian.</param>
1140 <see langword="true" /> if the read operation is successful; <see langword="false" /> if there isn't enough data for an <see cref="T:System.Int64" />.</returns>
1142 <member name="T:System.Buffers.StandardFormat">
1143 <summary>Represents a standard format string without using an actual string.</summary>
1145 <member name="F:System.Buffers.StandardFormat.MaxPrecision">
1146 <summary>Defines the maximum valid precision value.</summary>
1148 <member name="F:System.Buffers.StandardFormat.NoPrecision">
1149 <summary>Indicates that a format doesn't use a precision or that the precision is unspecified.</summary>
1151 <member name="M:System.Buffers.StandardFormat.#ctor(System.Char,System.Byte)">
1152 <summary>Initializes a new instance of the <see cref="T:System.Buffers.StandardFormat" /> structure.</summary>
1153 <param name="symbol">A type-specific format specifier, such as 'G', 'D', or 'X'.</param>
1154 <param name="precision">An optional precision ranging from 0 to 99, or the special value <see cref="F:System.Buffers.StandardFormat.NoPrecision" /> (the default).</param>
1155 <exception cref="T:System.ArgumentOutOfRangeException">
1156 <paramref name="symbol" /> is not <see cref="F:System.Buffers.StandardFormat.NoPrecision" />, and its value is greater than <see cref="F:System.Buffers.StandardFormat.MaxPrecision" />.
1160 <paramref name="symbol" /> cannot be converted to a <see cref="T:System.Byte" />.</exception>
1162 <member name="M:System.Buffers.StandardFormat.Equals(System.Buffers.StandardFormat)">
1163 <summary>Returns a value that indicates whether the specified <see cref="T:System.Buffers.StandardFormat" /> is equal to the current instance.</summary>
1164 <param name="other">The format to compare to the current instance.</param>
1166 <see langword="true" /> if the two instances are equal; otherwise, <see langword="false" />.</returns>
1168 <member name="M:System.Buffers.StandardFormat.Equals(System.Object)">
1169 <summary>Returns a value that indicates whether the specified object is a <see cref="T:System.Buffers.StandardFormat" /> object that is equal to the current instance.</summary>
1170 <param name="obj">An object to compare to the current instance.</param>
1172 <see langword="true" /> if the two instances are equal; otherwise, <see langword="false" />.</returns>
1174 <member name="M:System.Buffers.StandardFormat.GetHashCode">
1175 <summary>Returns the hash code for this instance.</summary>
1176 <returns>The hash code for this instance.</returns>
1178 <member name="M:System.Buffers.StandardFormat.op_Equality(System.Buffers.StandardFormat,System.Buffers.StandardFormat)">
1179 <summary>Returns a value that indicates whether two <see cref="T:System.Buffers.StandardFormat" /> instances are equal.</summary>
1180 <param name="left">The first format to compare.</param>
1181 <param name="right">The second format to compare.</param>
1183 <see langword="true" /> if the two instances are equal; otherwise, <see langword="false" />.</returns>
1185 <member name="M:System.Buffers.StandardFormat.op_Implicit(System.Char)~System.Buffers.StandardFormat">
1186 <summary>Converts a character to a <see cref="T:System.Buffers.StandardFormat" /> instance using <see cref="F:System.Buffers.StandardFormat.NoPrecision" /> precision.</summary>
1187 <param name="symbol">The character to convert to a <see cref="T:System.Buffers.StandardFormat" /> value.</param>
1188 <returns>A format with a <see cref="P:System.Buffers.StandardFormat.Symbol" /> property equal to <paramref name="symbol" /> and a <see cref="P:System.Buffers.StandardFormat.Precision" /> property equal to <see cref="F:System.Buffers.StandardFormat.NoPrecision" />.</returns>
1190 <member name="M:System.Buffers.StandardFormat.op_Inequality(System.Buffers.StandardFormat,System.Buffers.StandardFormat)">
1191 <summary>Determines whether two <see cref="T:System.Buffers.StandardFormat" /> instances are unequal.</summary>
1192 <param name="left">The first format to compare.</param>
1193 <param name="right">The second format to compare.</param>
1195 <see langword="true" /> if the two formats are unequal; otherwise, <see langword="false" />.</returns>
1197 <member name="M:System.Buffers.StandardFormat.Parse(System.ReadOnlySpan{System.Char})">
1198 <summary>Converts a <see langword="ReadOnlySpan<System.Char>" /> into a <see cref="T:System.Buffers.StandardFormat" /> instance using <see cref="F:System.Buffers.StandardFormat.NoPrecision" /> precision.</summary>
1199 <param name="format">A read-only span that contains the character to parse.</param>
1200 <returns>A value whose <see cref="P:System.Buffers.StandardFormat.Symbol" /> property value is the character in <paramref name="format" /> and whose <see cref="P:System.Buffers.StandardFormat.Precision" /> property value is <see cref="F:System.Buffers.StandardFormat.NoPrecision" />.</returns>
1202 <member name="M:System.Buffers.StandardFormat.Parse(System.String)">
1203 <summary>Converts a classic .NET standard format string to a <see cref="T:System.Buffers.StandardFormat" /> instance.</summary>
1204 <param name="format">A classic .NET standard format string.</param>
1205 <exception cref="T:System.FormatException">
1206 <paramref name="format" /> is not a valid standard format string.</exception>
1207 <returns>A format.</returns>
1209 <member name="M:System.Buffers.StandardFormat.ToString">
1210 <summary>Returns the string representation of this format.</summary>
1211 <returns>The string representation of this format.</returns>
1213 <member name="M:System.Buffers.StandardFormat.TryParse(System.ReadOnlySpan{System.Char},System.Buffers.StandardFormat@)">
1214 <summary>Attempts to convert a <see langword="ReadOnlySpan<Char>" /> to a <see cref="T:System.Buffers.StandardFormat" /> instance and returns a value that indicates whether the parsing operation succeeded.</summary>
1215 <param name="format">A read-only span that contains the character to convert.</param>
1216 <param name="result">When the method returns, contains the parsed <see cref="T:System.Buffers.StandardFormat" /> instance if the operation was successful.</param>
1218 <see langword="true" /> if the parsing operation was successful; otherwise, <see langword="false" />.</returns>
1220 <member name="P:System.Buffers.StandardFormat.HasPrecision">
1221 <summary>Gets a value that indicates whether a format has a defined precision.</summary>
1223 <see langword="true" /> if the format has a precision other than <see cref="F:System.Buffers.StandardFormat.NoPrecision" />; otherwise, <see langword="false" />.</returns>
1225 <member name="P:System.Buffers.StandardFormat.IsDefault">
1226 <summary>Gets a value that indicates whether the current instance is a default format.</summary>
1228 <see langword="true" /> if the current instance is a default format; otherwise, <see langword="false" />.</returns>
1230 <member name="P:System.Buffers.StandardFormat.Precision">
1231 <summary>Gets the precision component of the format.</summary>
1232 <returns>The precision component, which can be <see cref="F:System.Buffers.StandardFormat.NoPrecision" />, or can range from 0 to 9.</returns>
1234 <member name="P:System.Buffers.StandardFormat.Symbol">
1235 <summary>Gets the character component of the format.</summary>
1236 <returns>The character component of the format.</returns>
1238 <member name="T:System.Buffers.Text.Base64">
1239 <summary>Converts between binary data and UTF-8 encoded text that is represented in base 64.</summary>
1241 <member name="M:System.Buffers.Text.Base64.DecodeFromUtf8(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.Int32@,System.Int32@,System.Boolean)">
1242 <summary>Decodes the span of UTF-8 encoded text represented as base 64 into binary data. If the input is not a multiple of 4, it will decode as much as it can, to the closest multiple of 4.</summary>
1243 <param name="utf8">The input span that contains UTF-8 encoded text in base 64 that needs to be decoded.</param>
1244 <param name="bytes">The output span that contains the result of the operation, that is, the decoded binary data.</param>
1245 <param name="bytesConsumed">The number of input bytes consumed during the operation. This can be used to slice the input for subsequent calls, if necessary.</param>
1246 <param name="bytesWritten">The number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary.</param>
1247 <param name="isFinalBlock">
1248 <see langword="true" /> (default) if the input span contains the entire data to decode. <see langword="false" /> if the input span contains partial data with more data to follow.</param>
1249 <returns>One of the enumeration values that indicates the status of the decoding operation.</returns>
1251 <member name="M:System.Buffers.Text.Base64.DecodeFromUtf8InPlace(System.Span{System.Byte},System.Int32@)">
1252 <summary>Decodes the span of UTF-8 encoded text in base 64 (in-place) into binary data. The decoded binary output is smaller than the text data contained in the input (the operation deflates the data). If the input is not a multiple of 4, the method will not decode any data.</summary>
1253 <param name="buffer">The input span that contains the base-64 text data that needs to be decoded.</param>
1254 <param name="bytesWritten">The number of bytes written into the buffer.</param>
1255 <returns>One of the enumeration values that indicates the status of the decoding operation.</returns>
1257 <member name="M:System.Buffers.Text.Base64.EncodeToUtf8(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.Int32@,System.Int32@,System.Boolean)">
1258 <summary>Encodes the span of binary data into UTF-8 encoded text represented as base 64.</summary>
1259 <param name="bytes">The input span that contains binary data that needs to be encoded.</param>
1260 <param name="utf8">The output span that contains the result of the operation, that is, the UTF-8 encoded text in base 64.</param>
1261 <param name="bytesConsumed">The number of input bytes consumed during the operation. This can be used to slice the input for subsequent calls, if necessary.</param>
1262 <param name="bytesWritten">The number of bytes written into the output span. This can be used to slice the output for subsequent calls, if necessary.</param>
1263 <param name="isFinalBlock">
1264 <see langword="true" /> (the default) if the input span contains the entire data to encode. <see langword="false" /> if the input span contains partial data with more data to follow.</param>
1265 <returns>One of the enumeration values that indicates the status of the encoding operation.</returns>
1267 <member name="M:System.Buffers.Text.Base64.EncodeToUtf8InPlace(System.Span{System.Byte},System.Int32,System.Int32@)">
1268 <summary>Encodes the span of binary data (in-place) into UTF-8 encoded text represented as base 64. The encoded text output is larger than the binary data contained in the input (the operation inflates the data).</summary>
1269 <param name="buffer">The input span that contains binary data that needs to be encoded. Because the method performs an in-place conversion, it needs to be large enough to store the result of the operation.</param>
1270 <param name="dataLength">The number of bytes of binary data contained within the buffer that needs to be encoded. This value must be smaller than the buffer length.</param>
1271 <param name="bytesWritten">The number of bytes written into the buffer.</param>
1272 <returns>One of the enumeration values that indicates the status of the encoding operation.</returns>
1274 <member name="M:System.Buffers.Text.Base64.GetMaxDecodedFromUtf8Length(System.Int32)">
1275 <summary>Returns the maximum length (in bytes) of the result if you were to decode base-64 encoded text within a byte span with the specified length.</summary>
1276 <param name="length">The size of the byte span.</param>
1277 <exception cref="T:System.ArgumentOutOfRangeException">
1278 <paramref name="length" /> is less than 0.</exception>
1279 <returns>The maximum length (in bytes) of the result.</returns>
1281 <member name="M:System.Buffers.Text.Base64.GetMaxEncodedToUtf8Length(System.Int32)">
1282 <summary>Returns the maximum length (in bytes) of the result if you were to encode binary data within a byte span with the specified length.</summary>
1283 <param name="length">The size of the byte span.</param>
1284 <exception cref="T:System.ArgumentOutOfRangeException">
1285 <paramref name="length" /> is less than 0 or larger than 1610612733 (since encode inflates the data by 4/3).</exception>
1286 <returns>The maximum length (in bytes) of the result.</returns>
1288 <member name="T:System.Buffers.Text.Utf8Formatter">
1289 <summary>Provides static methods to format common data types as Utf8 strings.</summary>
1291 <member name="M:System.Buffers.Text.Utf8Formatter.TryFormat(System.Boolean,System.Span{System.Byte},System.Int32@,System.Buffers.StandardFormat)">
1292 <summary>Formats a <see cref="T:System.Boolean" /> as a UTF8 string.</summary>
1293 <param name="value">The value to format.</param>
1294 <param name="destination">The buffer to write the UTF8-formatted value to.</param>
1295 <param name="bytesWritten">When the method returns, contains the length of the formatted text in bytes.</param>
1296 <param name="format">The standard format to use.</param>
1298 <see langword="true" /> if the formatting operation succeeds; <see langword="false" /> if <paramref name="destination" /> is too small.</returns>
1300 <member name="M:System.Buffers.Text.Utf8Formatter.TryFormat(System.Byte,System.Span{System.Byte},System.Int32@,System.Buffers.StandardFormat)">
1301 <summary>Formats a <see cref="T:System.Byte" /> as a UTF8 string.</summary>
1302 <param name="value">The value to format.</param>
1303 <param name="destination">The buffer to write the UTF8-formatted value to.</param>
1304 <param name="bytesWritten">When the method returns, contains the length of the formatted text in bytes.</param>
1305 <param name="format">The standard format to use.</param>
1307 <see langword="true" /> if the formatting operation succeeds; <see langword="false" /> if <paramref name="destination" /> is too small.</returns>
1309 <member name="M:System.Buffers.Text.Utf8Formatter.TryFormat(System.DateTime,System.Span{System.Byte},System.Int32@,System.Buffers.StandardFormat)">
1310 <summary>Formats a <see cref="T:System.DateTime" /> as a UTF8 string.</summary>
1311 <param name="value">The value to format.</param>
1312 <param name="destination">The buffer to write the UTF8-formatted value to.</param>
1313 <param name="bytesWritten">When the method returns, contains the length of the formatted text in bytes.</param>
1314 <param name="format">The standard format to use.</param>
1316 <see langword="true" /> if the formatting operation succeeds; <see langword="false" /> if <paramref name="destination" /> is too small.</returns>
1318 <member name="M:System.Buffers.Text.Utf8Formatter.TryFormat(System.DateTimeOffset,System.Span{System.Byte},System.Int32@,System.Buffers.StandardFormat)">
1319 <summary>Formats a <see cref="T:System.DateTimeOffset" /> as a UTF8 string.</summary>
1320 <param name="value">The value to format.</param>
1321 <param name="destination">The buffer to write the UTF8-formatted value to.</param>
1322 <param name="bytesWritten">When the method returns, contains the length of the formatted text in bytes.</param>
1323 <param name="format">The standard format to use.</param>
1325 <see langword="true" /> if the formatting operation succeeds; <see langword="false" /> if <paramref name="destination" /> is too small.</returns>
1327 <member name="M:System.Buffers.Text.Utf8Formatter.TryFormat(System.Decimal,System.Span{System.Byte},System.Int32@,System.Buffers.StandardFormat)">
1328 <summary>Formats a <see cref="T:System.Decimal" /> as a UTF8 string.</summary>
1329 <param name="value">The value to format.</param>
1330 <param name="destination">The buffer to write the UTF8-formatted value to.</param>
1331 <param name="bytesWritten">When the method returns, contains the length of the formatted text in bytes.</param>
1332 <param name="format">The standard format to use.</param>
1334 <see langword="true" /> if the formatting operation succeeds; <see langword="false" /> if <paramref name="destination" /> is too small.</returns>
1336 <member name="M:System.Buffers.Text.Utf8Formatter.TryFormat(System.Double,System.Span{System.Byte},System.Int32@,System.Buffers.StandardFormat)">
1337 <summary>Formats a <see cref="T:System.Double" /> as a UTF8 string.</summary>
1338 <param name="value">The value to format.</param>
1339 <param name="destination">The buffer to write the UTF8-formatted value to.</param>
1340 <param name="bytesWritten">When the method returns, contains the length of the formatted text in bytes.</param>
1341 <param name="format">The standard format to use.</param>
1343 <see langword="true" /> if the formatting operation succeeds; <see langword="false" /> if <paramref name="destination" /> is too small.</returns>
1345 <member name="M:System.Buffers.Text.Utf8Formatter.TryFormat(System.Guid,System.Span{System.Byte},System.Int32@,System.Buffers.StandardFormat)">
1346 <summary>Formats a <see cref="T:System.Guid" /> as a UTF8 string.</summary>
1347 <param name="value">The value to format.</param>
1348 <param name="destination">The buffer to write the UTF8-formatted value to.</param>
1349 <param name="bytesWritten">When the method returns, contains the length of the formatted text in bytes.</param>
1350 <param name="format">The standard format to use.</param>
1352 <see langword="true" /> if the formatting operation succeeds; <see langword="false" /> if <paramref name="destination" /> is too small.</returns>
1354 <member name="M:System.Buffers.Text.Utf8Formatter.TryFormat(System.Int16,System.Span{System.Byte},System.Int32@,System.Buffers.StandardFormat)">
1355 <summary>Formats an <see cref="T:System.Int16" /> as a UTF8 string.</summary>
1356 <param name="value">The value to format.</param>
1357 <param name="destination">The buffer to write the UTF8-formatted value to.</param>
1358 <param name="bytesWritten">When the method returns, contains the length of the formatted text in bytes.</param>
1359 <param name="format">The standard format to use.</param>
1361 <see langword="true" /> if the formatting operation succeeds; <see langword="false" /> if <paramref name="destination" /> is too small.</returns>
1363 <member name="M:System.Buffers.Text.Utf8Formatter.TryFormat(System.Int32,System.Span{System.Byte},System.Int32@,System.Buffers.StandardFormat)">
1364 <summary>Formats an <see cref="T:System.Int32" /> as a UTF8 string.</summary>
1365 <param name="value">The value to format.</param>
1366 <param name="destination">The buffer to write the UTF8-formatted value to.</param>
1367 <param name="bytesWritten">When the method returns, contains the length of the formatted text in bytes.</param>
1368 <param name="format">The standard format to use.</param>
1370 <see langword="true" /> if the formatting operation succeeds; <see langword="false" /> if <paramref name="destination" /> is too small.</returns>
1372 <member name="M:System.Buffers.Text.Utf8Formatter.TryFormat(System.Int64,System.Span{System.Byte},System.Int32@,System.Buffers.StandardFormat)">
1373 <summary>Formats an <see cref="T:System.Int64" /> as a UTF8 string.</summary>
1374 <param name="value">The value to format.</param>
1375 <param name="destination">The buffer to write the UTF8-formatted value to.</param>
1376 <param name="bytesWritten">When the method returns, contains the length of the formatted text in bytes.</param>
1377 <param name="format">The standard format to use.</param>
1379 <see langword="true" /> if the formatting operation succeeds; <see langword="false" /> if <paramref name="destination" /> is too small.</returns>
1381 <member name="M:System.Buffers.Text.Utf8Formatter.TryFormat(System.SByte,System.Span{System.Byte},System.Int32@,System.Buffers.StandardFormat)">
1382 <summary>Formats an <see cref="T:System.SByte" /> as a UTF8 string.</summary>
1383 <param name="value">The value to format.</param>
1384 <param name="destination">The buffer to write the UTF8-formatted value to.</param>
1385 <param name="bytesWritten">When the method returns, contains the length of the formatted text in bytes.</param>
1386 <param name="format">The standard format to use.</param>
1388 <see langword="true" /> if the formatting operation succeeds; <see langword="false" /> if <paramref name="destination" /> is too small.</returns>
1390 <member name="M:System.Buffers.Text.Utf8Formatter.TryFormat(System.Single,System.Span{System.Byte},System.Int32@,System.Buffers.StandardFormat)">
1391 <summary>Formats a <see cref="T:System.Single" /> as a UTF8 string.</summary>
1392 <param name="value">The value to format.</param>
1393 <param name="destination">The buffer to write the UTF8-formatted value to.</param>
1394 <param name="bytesWritten">When the method returns, contains the length of the formatted text in bytes.</param>
1395 <param name="format">The standard format to use.</param>
1397 <see langword="true" /> if the formatting operation succeeds; <see langword="false" /> if <paramref name="destination" /> is too small.</returns>
1399 <member name="M:System.Buffers.Text.Utf8Formatter.TryFormat(System.TimeSpan,System.Span{System.Byte},System.Int32@,System.Buffers.StandardFormat)">
1400 <summary>Formats a <see cref="T:System.TimeSpan" /> as a UTF8 string.</summary>
1401 <param name="value">The value to format.</param>
1402 <param name="destination">The buffer to write the UTF8-formatted value to.</param>
1403 <param name="bytesWritten">When the method returns, contains the length of the formatted text in bytes.</param>
1404 <param name="format">The standard format to use.</param>
1406 <see langword="true" /> if the formatting operation succeeds; <see langword="false" /> if <paramref name="destination" /> is too small.</returns>
1408 <member name="M:System.Buffers.Text.Utf8Formatter.TryFormat(System.UInt16,System.Span{System.Byte},System.Int32@,System.Buffers.StandardFormat)">
1409 <summary>Formats a <see cref="T:System.UInt16" /> as a UTF8 string.</summary>
1410 <param name="value">The value to format.</param>
1411 <param name="destination">The buffer to write the UTF8-formatted value to.</param>
1412 <param name="bytesWritten">When the method returns, contains the length of the formatted text in bytes.</param>
1413 <param name="format">The standard format to use.</param>
1415 <see langword="true" /> if the formatting operation succeeds; <see langword="false" /> if <paramref name="destination" /> is too small.</returns>
1417 <member name="M:System.Buffers.Text.Utf8Formatter.TryFormat(System.UInt32,System.Span{System.Byte},System.Int32@,System.Buffers.StandardFormat)">
1418 <summary>Formats a <see cref="T:System.UInt32" /> as a UTF8 string.</summary>
1419 <param name="value">The value to format.</param>
1420 <param name="destination">The buffer to write the UTF8-formatted value to.</param>
1421 <param name="bytesWritten">When the method returns, contains the length of the formatted text in bytes.</param>
1422 <param name="format">The standard format to use.</param>
1424 <see langword="true" /> if the formatting operation succeeds; <see langword="false" /> if <paramref name="destination" /> is too small.</returns>
1426 <member name="M:System.Buffers.Text.Utf8Formatter.TryFormat(System.UInt64,System.Span{System.Byte},System.Int32@,System.Buffers.StandardFormat)">
1427 <summary>Formats a <see cref="T:System.UInt64" /> as a UTF8 string.</summary>
1428 <param name="value">The value to format.</param>
1429 <param name="destination">The buffer to write the UTF8-formatted value to.</param>
1430 <param name="bytesWritten">When the method returns, contains the length of the formatted text in bytes.</param>
1431 <param name="format">The standard format to use.</param>
1433 <see langword="true" /> if the formatting operation succeeds; <see langword="false" /> if <paramref name="destination" /> is too small.</returns>
1435 <member name="T:System.Buffers.Text.Utf8Parser">
1436 <summary>Provides static methods to parse Utf8 strings to common data types.</summary>
1438 <member name="M:System.Buffers.Text.Utf8Parser.TryParse(System.ReadOnlySpan{System.Byte},System.Boolean@,System.Int32@,System.Char)">
1439 <summary>Parses a <see cref="T:System.Boolean" /> at the start of a Utf8 string.</summary>
1440 <param name="source">The Utf8 string to parse.</param>
1441 <param name="value">When the method returns, contains the value parsed from <paramref name="source" />, if the parsing operation succeeded.</param>
1442 <param name="bytesConsumed">If the parsing operation was successful, contains the length in bytes of the parsed substring when the method returns. If the method fails, <paramref name="bytesConsumed" /> is set to 0.</param>
1443 <param name="standardFormat">The expected format of the Utf8 string.</param>
1445 <see langword="true" /> for success; <see langword="false" /> if the string was not syntactically valid or an overflow or underflow occurred.</returns>
1447 <member name="M:System.Buffers.Text.Utf8Parser.TryParse(System.ReadOnlySpan{System.Byte},System.Byte@,System.Int32@,System.Char)">
1448 <summary>Parses a <see cref="T:System.Byte" /> at the start of a Utf8 string.</summary>
1449 <param name="source">The Utf8 string to parse.</param>
1450 <param name="value">When the method returns, contains the value parsed from <paramref name="source" />, if the parsing operation succeeded.</param>
1451 <param name="bytesConsumed">If the parsing operation was successful, contains the length in bytes of the parsed substring when the method returns. If the method fails, <paramref name="bytesConsumed" /> is set to 0.</param>
1452 <param name="standardFormat">The expected format of the Utf8 string.</param>
1454 <see langword="true" /> for success; <see langword="false" /> if the string was not syntactically valid or an overflow or underflow occurred.</returns>
1456 <member name="M:System.Buffers.Text.Utf8Parser.TryParse(System.ReadOnlySpan{System.Byte},System.DateTime@,System.Int32@,System.Char)">
1457 <summary>Parses a <see cref="T:System.DateTime" /> at the start of a Utf8 string.</summary>
1458 <param name="source">The Utf8 string to parse.</param>
1459 <param name="value">When the method returns, contains the value parsed from <paramref name="source" />, if the parsing operation succeeded.</param>
1460 <param name="bytesConsumed">If the parsing operation was successful, contains the length in bytes of the parsed substring when the method returns. If the method fails, <paramref name="bytesConsumed" /> is set to 0.</param>
1461 <param name="standardFormat">The expected format of the Utf8 string.</param>
1463 <see langword="true" /> for success; <see langword="false" /> if the string was not syntactically valid or an overflow or underflow occurred.</returns>
1465 <member name="M:System.Buffers.Text.Utf8Parser.TryParse(System.ReadOnlySpan{System.Byte},System.DateTimeOffset@,System.Int32@,System.Char)">
1466 <summary>Parses a <see cref="T:System.DateTimeOffset" /> at the start of a Utf8 string.</summary>
1467 <param name="source">The Utf8 string to parse.</param>
1468 <param name="value">When the method returns, contains the value parsed from <paramref name="source" />, if the parsing operation succeeded.</param>
1469 <param name="bytesConsumed">If the parsing operation was successful, contains the length in bytes of the parsed substring when the method returns. If the method fails, <paramref name="bytesConsumed" /> is set to 0.</param>
1470 <param name="standardFormat">The expected format of the Utf8 string.</param>
1472 <see langword="true" /> for success; <see langword="false" /> if the string was not syntactically valid or an overflow or underflow occurred.</returns>
1474 <member name="M:System.Buffers.Text.Utf8Parser.TryParse(System.ReadOnlySpan{System.Byte},System.Decimal@,System.Int32@,System.Char)">
1475 <summary>Parses a <see cref="T:System.Decimal" /> at the start of a Utf8 string.</summary>
1476 <param name="source">The Utf8 string to parse.</param>
1477 <param name="value">When the method returns, contains the value parsed from <paramref name="source" />, if the parsing operation succeeded.</param>
1478 <param name="bytesConsumed">If the parsing operation was successful, contains the length in bytes of the parsed substring when the method returns. If the method fails, <paramref name="bytesConsumed" /> is set to 0.</param>
1479 <param name="standardFormat">The expected format of the Utf8 string.</param>
1481 <see langword="true" /> for success; <see langword="false" /> if the string was not syntactically valid or an overflow or underflow occurred.</returns>
1483 <member name="M:System.Buffers.Text.Utf8Parser.TryParse(System.ReadOnlySpan{System.Byte},System.Double@,System.Int32@,System.Char)">
1484 <summary>Parses a <see cref="T:System.Double" /> at the start of a Utf8 string.</summary>
1485 <param name="source">The Utf8 string to parse.</param>
1486 <param name="value">When the method returns, contains the value parsed from <paramref name="source" />, if the parsing operation succeeded.</param>
1487 <param name="bytesConsumed">If the parsing operation was successful, contains the length in bytes of the parsed substring when the method returns. If the method fails, <paramref name="bytesConsumed" /> is set to 0.</param>
1488 <param name="standardFormat">The expected format of the Utf8 string.</param>
1490 <see langword="true" /> for success; <see langword="false" /> if the string was not syntactically valid or an overflow or underflow occurred.</returns>
1492 <member name="M:System.Buffers.Text.Utf8Parser.TryParse(System.ReadOnlySpan{System.Byte},System.Guid@,System.Int32@,System.Char)">
1493 <summary>Parses a <see cref="T:System.Guid" /> at the start of a Utf8 string.</summary>
1494 <param name="source">The Utf8 string to parse.</param>
1495 <param name="value">When the method returns, contains the value parsed from <paramref name="source" />, if the parsing operation succeeded.</param>
1496 <param name="bytesConsumed">If the parsing operation was successful, contains the length in bytes of the parsed substring when the method returns. If the method fails, <paramref name="bytesConsumed" /> is set to 0.</param>
1497 <param name="standardFormat">The expected format of the Utf8 string.</param>
1499 <see langword="true" /> for success; <see langword="false" /> if the string was not syntactically valid or an overflow or underflow occurred.</returns>
1501 <member name="M:System.Buffers.Text.Utf8Parser.TryParse(System.ReadOnlySpan{System.Byte},System.Int16@,System.Int32@,System.Char)">
1502 <summary>Parses an <see cref="T:System.Int16" /> at the start of a Utf8 string.</summary>
1503 <param name="source">The Utf8 string to parse.</param>
1504 <param name="value">When the method returns, contains the value parsed from <paramref name="source" />, if the parsing operation succeeded.</param>
1505 <param name="bytesConsumed">If the parsing operation was successful, contains the length in bytes of the parsed substring when the method returns. If the method fails, <paramref name="bytesConsumed" /> is set to 0.</param>
1506 <param name="standardFormat">The expected format of the Utf8 string.</param>
1508 <see langword="true" /> for success; <see langword="false" /> if the string was not syntactically valid or an overflow or underflow occurred.</returns>
1510 <member name="M:System.Buffers.Text.Utf8Parser.TryParse(System.ReadOnlySpan{System.Byte},System.Int32@,System.Int32@,System.Char)">
1511 <summary>Parses an <see cref="T:System.Int32" /> at the start of a Utf8 string.</summary>
1512 <param name="source">The Utf8 string to parse.</param>
1513 <param name="value">When the method returns, contains the value parsed from <paramref name="source" />, if the parsing operation succeeded.</param>
1514 <param name="bytesConsumed">If the parsing operation was successful, contains the length in bytes of the parsed substring when the method returns. If the method fails, <paramref name="bytesConsumed" /> is set to 0.</param>
1515 <param name="standardFormat">The expected format of the Utf8 string.</param>
1517 <see langword="true" /> for success; <see langword="false" /> if the string was not syntactically valid or an overflow or underflow occurred.</returns>
1519 <member name="M:System.Buffers.Text.Utf8Parser.TryParse(System.ReadOnlySpan{System.Byte},System.Int64@,System.Int32@,System.Char)">
1520 <summary>Parses an <see cref="T:System.Int64" /> at the start of a Utf8 string.</summary>
1521 <param name="source">The Utf8 string to parse.</param>
1522 <param name="value">When the method returns, contains the value parsed from <paramref name="source" />, if the parsing operation succeeded.</param>
1523 <param name="bytesConsumed">If the parsing operation was successful, contains the length in bytes of the parsed substring when the method returns. If the method fails, <paramref name="bytesConsumed" /> is set to 0.</param>
1524 <param name="standardFormat">The expected format of the Utf8 string.</param>
1526 <see langword="true" /> for success; <see langword="false" /> if the string was not syntactically valid or an overflow or underflow occurred.</returns>
1528 <member name="M:System.Buffers.Text.Utf8Parser.TryParse(System.ReadOnlySpan{System.Byte},System.SByte@,System.Int32@,System.Char)">
1529 <summary>Parses an <see cref="T:System.SByte" /> at the start of a Utf8 string.</summary>
1530 <param name="source">The Utf8 string to parse.</param>
1531 <param name="value">When the method returns, contains the value parsed from <paramref name="source" />, if the parsing operation succeeded.</param>
1532 <param name="bytesConsumed">If the parsing operation was successful, contains the length in bytes of the parsed substring when the method returns. If the method fails, <paramref name="bytesConsumed" /> is set to 0.</param>
1533 <param name="standardFormat">The expected format of the Utf8 string.</param>
1535 <see langword="true" /> for success; <see langword="false" /> if the string was not syntactically valid or an overflow or underflow occurred.</returns>
1537 <member name="M:System.Buffers.Text.Utf8Parser.TryParse(System.ReadOnlySpan{System.Byte},System.Single@,System.Int32@,System.Char)">
1538 <summary>Parses a <see cref="T:System.Single" /> at the start of a Utf8 string.</summary>
1539 <param name="source">The Utf8 string to parse.</param>
1540 <param name="value">When the method returns, contains the value parsed from <paramref name="source" />, if the parsing operation succeeded.</param>
1541 <param name="bytesConsumed">If the parsing operation was successful, contains the length in bytes of the parsed substring when the method returns. If the method fails, <paramref name="bytesConsumed" /> is set to 0.</param>
1542 <param name="standardFormat">The expected format of the Utf8 string.</param>
1544 <see langword="true" /> for success; <see langword="false" /> if the string was not syntactically valid or an overflow or underflow occurred.</returns>
1546 <member name="M:System.Buffers.Text.Utf8Parser.TryParse(System.ReadOnlySpan{System.Byte},System.TimeSpan@,System.Int32@,System.Char)">
1547 <summary>Parses a <see cref="T:System.TimeSpan" /> at the start of a Utf8 string.</summary>
1548 <param name="source">The Utf8 string to parse.</param>
1549 <param name="value">When the method returns, contains the value parsed from <paramref name="source" />, if the parsing operation succeeded.</param>
1550 <param name="bytesConsumed">If the parsing operation was successful, contains the length in bytes of the parsed substring when the method returns. If the method fails, <paramref name="bytesConsumed" /> is set to 0.</param>
1551 <param name="standardFormat">The expected format of the Utf8 string.</param>
1553 <see langword="true" /> for success; <see langword="false" /> if the string was not syntactically valid or an overflow or underflow occurred.</returns>
1555 <member name="M:System.Buffers.Text.Utf8Parser.TryParse(System.ReadOnlySpan{System.Byte},System.UInt16@,System.Int32@,System.Char)">
1556 <summary>Parses a <see cref="T:System.UInt16" /> at the start of a Utf8 string.</summary>
1557 <param name="source">The Utf8 string to parse.</param>
1558 <param name="value">When the method returns, contains the value parsed from <paramref name="source" />, if the parsing operation succeeded.</param>
1559 <param name="bytesConsumed">If the parsing operation was successful, contains the length in bytes of the parsed substring when the method returns. If the method fails, <paramref name="bytesConsumed" /> is set to 0.</param>
1560 <param name="standardFormat">The expected format of the Utf8 string.</param>
1562 <see langword="true" /> for success; <see langword="false" /> if the string was not syntactically valid or an overflow or underflow occurred.</returns>
1564 <member name="M:System.Buffers.Text.Utf8Parser.TryParse(System.ReadOnlySpan{System.Byte},System.UInt32@,System.Int32@,System.Char)">
1565 <summary>Parses a <see cref="T:System.UInt32" /> at the start of a Utf8 string.</summary>
1566 <param name="source">The Utf8 string to parse.</param>
1567 <param name="value">When the method returns, contains the value parsed from <paramref name="source" />, if the parsing operation succeeded.</param>
1568 <param name="bytesConsumed">If the parsing operation was successful, contains the length in bytes of the parsed substring when the method returns. If the method fails, <paramref name="bytesConsumed" /> is set to 0.</param>
1569 <param name="standardFormat">The expected format of the Utf8 string.</param>
1571 <see langword="true" /> for success; <see langword="false" /> if the string was not syntactically valid or an overflow or underflow occurred.</returns>
1573 <member name="M:System.Buffers.Text.Utf8Parser.TryParse(System.ReadOnlySpan{System.Byte},System.UInt64@,System.Int32@,System.Char)">
1574 <summary>Parses a <see cref="T:System.UInt64" /> at the start of a Utf8 string.</summary>
1575 <param name="source">The Utf8 string to parse.</param>
1576 <param name="value">When the method returns, contains the value parsed from <paramref name="source" />, if the parsing operation succeeded.</param>
1577 <param name="bytesConsumed">If the parsing operation was successful, contains the length in bytes of the parsed substring when the method returns. If the method fails, <paramref name="bytesConsumed" /> is set to 0.</param>
1578 <param name="standardFormat">The expected format of the Utf8 string.</param>
1580 <see langword="true" /> for success; <see langword="false" /> if the string was not syntactically valid or an overflow or underflow occurred.</returns>
1582 <member name="T:System.MemoryExtensions">
1583 <summary>Provides extension methods for the memory- and span-related types, such as <see cref="T:System.Memory`1" />, <see cref="T:System.ReadOnlyMemory`1" />, <see cref="T:System.Span`1" />, and <see cref="T:System.ReadOnlySpan`1" />.</summary>
1585 <member name="M:System.MemoryExtensions.AsMemory(System.String)">
1586 <summary>Creates a new <see langword="ReadOnlyMemory<Char>" /> over the portion of the target string.</summary>
1587 <param name="text">The target string.</param>
1588 <returns>The read-only character memory representation of the string, or <see langword="default" /> if <paramref name="text" /> is <see langword="null" />.</returns>
1590 <member name="M:System.MemoryExtensions.AsMemory(System.String,System.Index)">
1591 <summary>Creates a new <see langword="ReadOnlyMemory<Char>" /> over a portion of the target string starting at a specified index.</summary>
1592 <param name="text">The target string.</param>
1593 <param name="startIndex">The index at which to begin this slice.</param>
1594 <returns>The read-only character memory representation of the string.</returns>
1596 <member name="M:System.MemoryExtensions.AsMemory(System.String,System.Int32)">
1597 <summary>Creates a new <see langword="ReadOnlyMemory<Char>" /> over a portion of the target string starting at a specified character position.</summary>
1598 <param name="text">The target string.</param>
1599 <param name="start">The index at which to begin this slice.</param>
1600 <exception cref="T:System.ArgumentOutOfRangeException">
1601 <paramref name="start" /> is not in the range of <paramref name="text" /> (<paramref name="start" /> is < 0 or > <c>text.Length</c>).</exception>
1602 <returns>The read-only character memory representation of the string, or <see langword="default" /> if <paramref name="text" /> is <see langword="null" />.</returns>
1604 <member name="M:System.MemoryExtensions.AsMemory(System.String,System.Int32,System.Int32)">
1605 <summary>Creates a new <see langword="ReadOnlyMemory<Char>" /> over a portion of the target string beginning at a specified position with a length.</summary>
1606 <param name="text">The target string.</param>
1607 <param name="start">The index at which to begin this slice.</param>
1608 <param name="length">The desired length for the slice.</param>
1609 <exception cref="T:System.ArgumentOutOfRangeException">
1610 <paramref name="start" />, <paramref name="length" />, or <paramref name="start" /> + <paramref name="length" /> is not in the range of <paramref name="text" />.</exception>
1611 <returns>The read-only character memory representation of the string, or <see langword="default" /> if <paramref name="text" /> is <see langword="null" />.</returns>
1613 <member name="M:System.MemoryExtensions.AsMemory(System.String,System.Range)">
1614 <summary>Creates a new <see langword="ReadOnlyMemory<Char>" /> over a specified range of the target string.</summary>
1615 <param name="text">The target string.</param>
1616 <param name="range">The range that indicates the start and length of the sliced string.</param>
1617 <returns>The read-only character memory representation of the string.</returns>
1619 <member name="M:System.MemoryExtensions.AsMemory``1(``0[])">
1620 <summary>Creates a new memory region over the target array.</summary>
1621 <param name="array">The array to convert.</param>
1622 <typeparam name="T">The type of the array.</typeparam>
1623 <returns>The memory representation of the whole or part of the array.</returns>
1625 <member name="M:System.MemoryExtensions.AsMemory``1(``0[],System.Index)">
1626 <summary>Creates a new memory region over the portion of the target array starting at a specified index to the end of the array.</summary>
1627 <param name="array">The array to convert.</param>
1628 <param name="startIndex">The first position of the array.</param>
1629 <typeparam name="T">The type of the array.</typeparam>
1630 <returns>The memory representation of the whole or part of the array.</returns>
1632 <member name="M:System.MemoryExtensions.AsMemory``1(``0[],System.Int32)">
1633 <summary>Creates a new memory region over the portion of the target array starting at a specified position to the end of the array.</summary>
1634 <param name="array">The target array.</param>
1635 <param name="start">The index at which to begin the memory.</param>
1636 <typeparam name="T">The type of the array.</typeparam>
1637 <exception cref="T:System.ArrayTypeMismatchException">
1638 <paramref name="array" /> is covariant, and the array's type is not exactly <see langword="T[]" />.</exception>
1639 <exception cref="T:System.ArgumentOutOfRangeException">
1640 <paramref name="start" /> index less than 0 or greater than <see langword="array.Length" />.</exception>
1641 <returns>The memory representation of the whole or part of the array.</returns>
1643 <member name="M:System.MemoryExtensions.AsMemory``1(``0[],System.Int32,System.Int32)">
1644 <summary>Creates a new memory region over the portion of the target array beginning at a specified position with a specified length.</summary>
1645 <param name="array">The target array.</param>
1646 <param name="start">The index at which to begin the memory region.</param>
1647 <param name="length">The number of items in the memory region.</param>
1648 <typeparam name="T">The type of the array.</typeparam>
1649 <exception cref="T:System.ArrayTypeMismatchException">
1650 <paramref name="array" /> is covariant, and the array's type is not exactly <see langword="T[]" />.</exception>
1651 <exception cref="T:System.ArgumentOutOfRangeException">
1652 <paramref name="start" />, <paramref name="length" />, or <paramref name="start" /> + <paramref name="length" /> is not in the range of <paramref name="array" />.</exception>
1653 <returns>The memory representation of the whole or part of the array.</returns>
1655 <member name="M:System.MemoryExtensions.AsMemory``1(``0[],System.Range)">
1656 <summary>Creates a new memory region over the portion of the target array beginning at inclusive start index of the range and ending at the exclusive end index of the range.</summary>
1657 <param name="array">The array to convert.</param>
1658 <param name="range">The range to convert from the array.</param>
1659 <typeparam name="T">The type of the array.</typeparam>
1660 <returns>The memory representation of the whole or part of the array.</returns>
1662 <member name="M:System.MemoryExtensions.AsMemory``1(System.ArraySegment{``0})">
1663 <summary>Creates a new memory region over the portion of the target array segment.</summary>
1664 <param name="segment">The segment to convert.</param>
1665 <typeparam name="T">The type of the segment.</typeparam>
1666 <returns>The memory representation of the segment.</returns>
1668 <member name="M:System.MemoryExtensions.AsMemory``1(System.ArraySegment{``0},System.Int32)">
1669 <summary>Creates a new memory region over the portion of the target array segment starting at a specified position to the end of the segment.</summary>
1670 <param name="segment">The target array segment.</param>
1671 <param name="start">The index at which to begin the memory.</param>
1672 <typeparam name="T">The type of the array.</typeparam>
1673 <exception cref="T:System.ArrayTypeMismatchException">
1674 <paramref name="segment" /> is covariant, and the type of <paramref name="segment" /> is not exactly <see langword="T[]" />.</exception>
1675 <exception cref="T:System.ArgumentOutOfRangeException">
1676 <paramref name="start" /> is less than 0 or greater than <see langword="segment.Count" />.</exception>
1677 <returns>The memory representation of the whole or part of the array.</returns>
1679 <member name="M:System.MemoryExtensions.AsMemory``1(System.ArraySegment{``0},System.Int32,System.Int32)">
1680 <summary>Creates a new memory region over the portion of the target array segment beginning at a specified position with a specified length.</summary>
1681 <param name="segment">The target array segment.</param>
1682 <param name="start">The index at which to begin the memory.</param>
1683 <param name="length">The number of items in the memory.</param>
1684 <typeparam name="T">The type of the array.</typeparam>
1685 <exception cref="T:System.ArrayTypeMismatchException">
1686 <paramref name="segment" /> is covariant, and the array's type is not exactly <see langword="T[]" />.</exception>
1687 <exception cref="T:System.ArgumentOutOfRangeException">
1688 <paramref name="start" />, <paramref name="length" />, or <paramref name="start" /> + <paramref name="length" /> is not in the range of <paramref name="segment" />.</exception>
1689 <returns>The memory representation of the whole or part of the array.</returns>
1691 <member name="M:System.MemoryExtensions.AsSpan(System.String)">
1692 <summary>Creates a new read-only span over a portion of the target string from a specified position for a specified number of characters.</summary>
1693 <param name="text">The target string.</param>
1694 <returns>The read-only span representation of the string.</returns>
1696 <member name="M:System.MemoryExtensions.AsSpan(System.String,System.Int32)">
1697 <summary>Creates a new read-only span over a portion of the target string from a specified position to the end of the string.</summary>
1698 <param name="text">The target string.</param>
1699 <param name="start">The index at which to begin this slice.</param>
1700 <exception cref="T:System.ArgumentNullException">
1701 <paramref name="text" /> is <see langword="null" />.</exception>
1702 <exception cref="T:System.ArgumentOutOfRangeException">
1703 <paramref name="start" /> is less than 0 or greater than <see langword="text.Length" />.</exception>
1704 <returns>The read-only span representation of the string.</returns>
1706 <member name="M:System.MemoryExtensions.AsSpan(System.String,System.Int32,System.Int32)">
1707 <summary>Creates a new read-only span over a string.</summary>
1708 <param name="text">The target string.</param>
1709 <param name="start">The index at which to begin this slice.</param>
1710 <param name="length">The desired length for the slice.</param>
1711 <exception cref="T:System.ArgumentOutOfRangeException">
1712 <paramref name="start" />, <paramref name="length" />, or <paramref name="start" /> + <paramref name="length" /> is not in the range of <paramref name="text" />.</exception>
1713 <returns>The read-only span representation of the string.</returns>
1715 <member name="M:System.MemoryExtensions.AsSpan``1(``0[])">
1716 <summary>Creates a new span over a target array.</summary>
1717 <param name="array">The array to convert.</param>
1718 <typeparam name="T">The type of the array.</typeparam>
1719 <returns>The span representation of the array.</returns>
1721 <member name="M:System.MemoryExtensions.AsSpan``1(``0[],System.Index)">
1722 <summary>Creates a new span over the portion of the target array defined by an <see cref="T:System.Index" /> value.</summary>
1723 <param name="array">The array to convert.</param>
1724 <param name="startIndex">The starting index.</param>
1725 <typeparam name="T">The array type.</typeparam>
1726 <returns>The span representation of the array.</returns>
1728 <member name="M:System.MemoryExtensions.AsSpan``1(``0[],System.Int32)">
1729 <summary>Creates a new span over a portion of the target array starting at a specified position to the end of the array.</summary>
1730 <param name="array">The array to convert.</param>
1731 <param name="start">The initial index from which the array will be converted.</param>
1732 <typeparam name="T">The type of the array.</typeparam>
1733 <returns>The span representation of the array.</returns>
1735 <member name="M:System.MemoryExtensions.AsSpan``1(``0[],System.Int32,System.Int32)">
1736 <summary>Creates a new span over the portion of the target array beginning at a specified position for a specified length.</summary>
1737 <param name="array">The target array.</param>
1738 <param name="start">The index at which to begin the span.</param>
1739 <param name="length">The number of items in the span.</param>
1740 <typeparam name="T">The type of the array.</typeparam>
1741 <exception cref="T:System.ArrayTypeMismatchException">
1742 <paramref name="array" /> is covariant, and the array's type is not exactly <see langword="T[]" />".</exception>
1743 <exception cref="T:System.ArgumentOutOfRangeException">
1744 <paramref name="start" />, <paramref name="length" />, or <paramref name="start" /> + <paramref name="length" /> is not in the range of <paramref name="text" />.</exception>
1745 <returns>The span representation of the array.</returns>
1747 <member name="M:System.MemoryExtensions.AsSpan``1(``0[],System.Range)">
1748 <summary>Creates a new span over a portion of a target array defined by a <see cref="T:System.Range" /> value.</summary>
1749 <param name="array">The array to convert.</param>
1750 <param name="range">The range of the array to convert.</param>
1751 <typeparam name="T">The type of the array.</typeparam>
1752 <returns>The span representation of the array.</returns>
1754 <member name="M:System.MemoryExtensions.AsSpan``1(System.ArraySegment{``0})">
1755 <summary>Creates a new span over a target array segment.</summary>
1756 <param name="segment">The array segment to convert.</param>
1757 <typeparam name="T">The type of the array segment.</typeparam>
1758 <returns>The span representation of the array segment.</returns>
1760 <member name="M:System.MemoryExtensions.AsSpan``1(System.ArraySegment{``0},System.Index)">
1761 <summary>Creates a new span over a portion of the target array segment beginning at a specified index and ending at the end of the segment.</summary>
1762 <param name="segment">The target array segment.</param>
1763 <param name="startIndex">The index at which to begin the Span.</param>
1764 <typeparam name="T">The type of the array segment.</typeparam>
1765 <returns>The span representation of the array segment.</returns>
1767 <member name="M:System.MemoryExtensions.AsSpan``1(System.ArraySegment{``0},System.Int32)">
1768 <summary>Creates a new span over a portion of a target array segment from a specified position to the end of the segment.</summary>
1769 <param name="segment">The target array segment.</param>
1770 <param name="start">The index at which to begin the san.</param>
1771 <typeparam name="T">The type of the array segment.</typeparam>
1772 <exception cref="T:System.ArrayTypeMismatchException">
1773 <paramref name="segment" /> is covariant, and the array's type is not exactly <see langword="T[]" />.</exception>
1774 <exception cref="T:System.ArgumentOutOfRangeException">
1775 <paramref name="start" /> is less than 0 or greater than <see langword="segment.Count" />.</exception>
1776 <returns>The span representation of the array segment.</returns>
1778 <member name="M:System.MemoryExtensions.AsSpan``1(System.ArraySegment{``0},System.Int32,System.Int32)">
1779 <summary>Creates a new span over a portion of a target array segment from a specified position for a specified length.</summary>
1780 <param name="segment">The target array segment.</param>
1781 <param name="start">The index at which to begin the span.</param>
1782 <param name="length">The number of items in the span.</param>
1783 <typeparam name="T">The type of the array segment.</typeparam>
1784 <exception cref="T:System.ArrayTypeMismatchException">
1785 <paramref name="segment" /> is covariant, and the array's type is not exactly <see langword="T[]" />.</exception>
1786 <exception cref="T:System.ArgumentOutOfRangeException">
1787 <paramref name="start" />, <paramref name="length" />, or <paramref name="start" /> + <paramref name="length" /> is not in the range of <paramref name="segment" />.</exception>
1788 <returns>The span representation of the array.</returns>
1790 <member name="M:System.MemoryExtensions.AsSpan``1(System.ArraySegment{``0},System.Range)">
1791 <summary>Creates a new span over a portion of a target array segment using the range start and end indexes.</summary>
1792 <param name="segment">The target array segment.</param>
1793 <param name="range">The range which has start and end indexes to use for slicing the array.</param>
1794 <typeparam name="T">The type of the array segment.</typeparam>
1795 <returns>The span representation of the array segment.</returns>
1797 <member name="M:System.MemoryExtensions.BinarySearch``1(System.ReadOnlySpan{``0},System.IComparable{``0})">
1798 <summary>Searches an entire sorted <see cref="T:System.ReadOnlySpan`1" /> for a value using the specified <see cref="T:System.IComparable`1" /> generic interface.</summary>
1799 <param name="span">The sorted <see cref="T:System.ReadOnlySpan`1" /> to search.</param>
1800 <param name="comparable">The <see cref="T:System.IComparable`1" /> to use when comparing.</param>
1801 <typeparam name="T">The element type of the span.</typeparam>
1802 <exception cref="T:System.ArgumentNullException">
1803 <paramref name="comparable" /> is <see langword="null" />.</exception>
1804 <returns>The zero-based index of <paramref name="comparable" /> in the sorted <paramref name="span" />, if <paramref name="comparable" /> is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than <paramref name="comparable" /> or, if there is no larger element, the bitwise complement of <see cref="P:System.ReadOnlySpan`1.Length" />.</returns>
1806 <member name="M:System.MemoryExtensions.BinarySearch``1(System.Span{``0},System.IComparable{``0})">
1807 <summary>Searches an entire sorted <see cref="T:System.Span`1" /> for a value using the specified <see cref="T:System.IComparable`1" /> generic interface.</summary>
1808 <param name="span">The sorted <see cref="T:System.Span`1" /> to search.</param>
1809 <param name="comparable">The <see cref="T:System.IComparable`1" /> to use when comparing.</param>
1810 <typeparam name="T">The element type of the span.</typeparam>
1811 <exception cref="T:System.ArgumentNullException">
1812 <paramref name="comparable" /> is <see langword="null" />.</exception>
1813 <returns>The zero-based index of <paramref name="comparable" /> in the sorted <paramref name="span" />, if <paramref name="comparable" /> is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than <paramref name="comparable" /> or, if there is no larger element, the bitwise complement of <see cref="P:System.Span`1.Length" />.</returns>
1815 <member name="M:System.MemoryExtensions.BinarySearch``2(System.ReadOnlySpan{``0},``0,``1)">
1816 <summary>Searches an entire sorted <see cref="T:System.ReadOnlySpan`1" /> for a specified value using the specified <typeparamref name="TComparer" /> generic type.</summary>
1817 <param name="span">The sorted <see cref="T:System.ReadOnlySpan`1" /> to search.</param>
1818 <param name="value">The object to locate. The value can be <see langword="null" /> for reference types.</param>
1819 <param name="comparer">The <typeparamref name="TComparer" /> to use when comparing.</param>
1820 <typeparam name="T">The element type of the span.</typeparam>
1821 <typeparam name="TComparer">The specific type of <see cref="T:System.Collections.Generic.IComparer`1" />.</typeparam>
1822 <exception cref="T:System.ArgumentNullException">
1823 <paramref name="comparer" /> is <see langword="null" />.</exception>
1824 <returns>The zero-based index of <paramref name="value" /> in the sorted <paramref name="span" />, if <paramref name="value" /> is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than <paramref name="value" /> or, if there is no larger element, the bitwise complement of <see cref="P:System.ReadOnlySpan`1.Length" />.</returns>
1826 <member name="M:System.MemoryExtensions.BinarySearch``2(System.ReadOnlySpan{``0},``1)">
1827 <summary>Searches an entire sorted <see cref="T:System.ReadOnlySpan`1" /> for a value using the specified <typeparamref name="TComparable" /> generic type.</summary>
1828 <param name="span">The sorted <see cref="T:System.ReadOnlySpan`1" /> to search.</param>
1829 <param name="comparable">The <typeparamref name="TComparable" /> to use when comparing.</param>
1830 <typeparam name="T">The element type of the span.</typeparam>
1831 <typeparam name="TComparable">The specific type of <see cref="T:System.IComparable`1" />.</typeparam>
1832 <exception cref="T:System.ArgumentNullException">
1833 <paramref name="comparable" /> is <see langword="null" />.</exception>
1834 <returns>The zero-based index of <paramref name="comparable" /> in the sorted <paramref name="span" />, if <paramref name="comparable" /> is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than <paramref name="comparable" /> or, if there is no larger element, the bitwise complement of <see cref="P:System.ReadOnlySpan`1.Length" />.</returns>
1836 <member name="M:System.MemoryExtensions.BinarySearch``2(System.Span{``0},``0,``1)">
1837 <summary>Searches an entire sorted <see cref="T:System.Span`1" /> for a specified value using the specified <typeparamref name="TComparer" /> generic type.</summary>
1838 <param name="span">The sorted <see cref="T:System.Span`1" /> to search.</param>
1839 <param name="value">The object to locate. The value can be <see langword="null" /> for reference types.</param>
1840 <param name="comparer">The <typeparamref name="TComparer" /> to use when comparing.</param>
1841 <typeparam name="T">The element type of the span.</typeparam>
1842 <typeparam name="TComparer">The specific type of <see cref="T:System.Collections.Generic.IComparer`1" />.</typeparam>
1843 <exception cref="T:System.ArgumentNullException">
1844 <paramref name="comparer" /> is <see langword="null" />.</exception>
1845 <returns>The zero-based index of <paramref name="value" /> in the sorted <paramref name="span" />, if <paramref name="value" /> is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than <paramref name="value" /> or, if there is no larger element, the bitwise complement of <see cref="P:System.Span`1.Length" />.</returns>
1847 <member name="M:System.MemoryExtensions.BinarySearch``2(System.Span{``0},``1)">
1848 <summary>Searches an entire sorted <see cref="T:System.Span`1" /> for a value using the specified <typeparamref name="TComparable" /> generic type.</summary>
1849 <param name="span">The sorted <see cref="T:System.Span`1" /> to search.</param>
1850 <param name="comparable">The <typeparamref name="TComparable" /> to use when comparing.</param>
1851 <typeparam name="T">The element type of the span.</typeparam>
1852 <typeparam name="TComparable">The specific type of <see cref="T:System.IComparable`1" />.</typeparam>
1853 <exception cref="T:System.ArgumentNullException">
1854 <paramref name="comparable" /> is <see langword="null" />.</exception>
1855 <returns>The zero-based index of <paramref name="comparable" /> in the sorted <paramref name="span" />, if <paramref name="comparable" /> is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than <paramref name="comparable" /> or, if there is no larger element, the bitwise complement of <see cref="P:System.Span`1.Length" />.</returns>
1857 <member name="M:System.MemoryExtensions.CompareTo(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Char},System.StringComparison)">
1858 <summary>Compares one character span with another using a specified string comparison, and returns an integer that indicates their relative position in the sort order.</summary>
1859 <param name="span">The source span.</param>
1860 <param name="other">The value to compare with the source span.</param>
1861 <param name="comparisonType">An enumeration value that determines how <paramref name="span" /> and <paramref name="other" /> are compared.</param>
1862 <returns>A signed integer that indicates the relative order of <paramref name="span" /> and <paramref name="other" />:<br /> - If less than 0, <paramref name="span" /> precedes than <paramref name="other" />.<br /> - If 0, <paramref name="span" /> equals <paramref name="other" />.<br /> - If greater than 0, <paramref name="span" /> follows <paramref name="other" />.</returns>
1864 <member name="M:System.MemoryExtensions.Contains(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Char},System.StringComparison)">
1865 <summary>Indicates whether a specified value occurs within a read-only character span.</summary>
1866 <param name="span">The source span.</param>
1867 <param name="value">The value to seek within the source span.</param>
1868 <param name="comparisonType">An enumeration value that determines how the characters in <paramref name="span" /> and <paramref name="value" /> are compared.</param>
1870 <see langword="true" /> if <paramref name="value" /> occurs within the span, <see langword="false" /> otherwise.</returns>
1872 <member name="M:System.MemoryExtensions.Contains``1(System.ReadOnlySpan{``0},``0)">
1873 <summary>Indicates whether a specified value is found in a read-only span. Values are compared using IEquatable{T}.Equals(T).</summary>
1874 <param name="span">The span to search.</param>
1875 <param name="value">The value to search for.</param>
1876 <typeparam name="T">The type of the span.</typeparam>
1878 <see langword="true" /> if found, <see langword="false" /> otherwise.</returns>
1880 <member name="M:System.MemoryExtensions.Contains``1(System.Span{``0},``0)">
1881 <summary>Indicates whether a specified value is found in a span. Values are compared using IEquatable{T}.Equals(T).</summary>
1882 <param name="span">The span to search.</param>
1883 <param name="value">The value to search for.</param>
1884 <typeparam name="T">The type of the elements in the span.</typeparam>
1886 <see langword="true" /> if found, <see langword="false" /> otherwise.</returns>
1888 <member name="M:System.MemoryExtensions.CopyTo``1(``0[],System.Memory{``0})">
1889 <summary>Copies the contents of the array into a memory region.</summary>
1890 <param name="source">The array to copy items from.</param>
1891 <param name="destination">The memory to copy items into.</param>
1892 <typeparam name="T">The type of the array.</typeparam>
1893 <exception cref="T:System.ArgumentException">The destination is shorter than the source array.</exception>
1895 <member name="M:System.MemoryExtensions.CopyTo``1(``0[],System.Span{``0})">
1896 <summary>Copies the contents of the array into the span.</summary>
1897 <param name="source">The array to copy items from.</param>
1898 <param name="destination">The span to copy items into.</param>
1899 <typeparam name="T">The type of the array.</typeparam>
1900 <exception cref="T:System.ArgumentException">The destination Span is shorter than the source array.</exception>
1902 <member name="M:System.MemoryExtensions.EndsWith(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Char},System.StringComparison)">
1903 <summary>Determines whether the end of the <paramref name="span" /> matches the specified <paramref name="value" /> when compared using the specified <paramref name="comparisonType" /> option.</summary>
1904 <param name="span">The source span.</param>
1905 <param name="value">The sequence to compare to the end of the source span.</param>
1906 <param name="comparisonType">An enumeration value that determines how <paramref name="span" /> and <paramref name="value" /> are compared.</param>
1908 <see langword="true" /> if <paramref name="value" /> matches the end of <paramref name="span" />; otherwise, <see langword="false" />.</returns>
1910 <member name="M:System.MemoryExtensions.EndsWith``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
1911 <summary>Determines whether the specified sequence appears at the end of a read-only span.</summary>
1912 <param name="span">The source span.</param>
1913 <param name="value">The sequence to compare to the end of the source span.</param>
1914 <typeparam name="T">The type of the span.</typeparam>
1916 <see langword="true" /> if <paramref name="value" /> matches the end of <paramref name="span" />; otherwise, <see langword="false" />.</returns>
1918 <member name="M:System.MemoryExtensions.EndsWith``1(System.Span{``0},System.ReadOnlySpan{``0})">
1919 <summary>Determines whether the specified sequence appears at the end of a span.</summary>
1920 <param name="span">The source span.</param>
1921 <param name="value">The sequence to compare to the end of the source span.</param>
1922 <typeparam name="T">The type of the span.</typeparam>
1924 <see langword="true" /> if <paramref name="value" /> matches the end of <paramref name="span" />; otherwise, <see langword="false" />.</returns>
1926 <member name="M:System.MemoryExtensions.EnumerateLines(System.ReadOnlySpan{System.Char})">
1927 <summary>Returns an enumeration of lines over the provided span.</summary>
1928 <param name="span">A span containing the lines to enumerate.</param>
1929 <returns>An enumeration of lines.</returns>
1931 <member name="M:System.MemoryExtensions.EnumerateLines(System.Span{System.Char})">
1932 <summary>Returns an enumeration of lines over the provided span.</summary>
1933 <param name="span">A span containing the lines to enumerate.</param>
1934 <returns>An enumeration of lines.</returns>
1936 <member name="M:System.MemoryExtensions.EnumerateRunes(System.ReadOnlySpan{System.Char})">
1937 <summary>Returns an enumeration of <see cref="T:System.Text.Rune" /> from the provided read-only span.</summary>
1938 <param name="span">The source span.</param>
1939 <returns>A rune enumerator.</returns>
1941 <member name="M:System.MemoryExtensions.EnumerateRunes(System.Span{System.Char})">
1942 <summary>Returns an enumeration of <see cref="T:System.Text.Rune" /> from the provided span.</summary>
1943 <param name="span">The source span.</param>
1944 <returns>A rune enumerator.</returns>
1946 <member name="M:System.MemoryExtensions.Equals(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Char},System.StringComparison)">
1947 <summary>Determines whether this <paramref name="span" /> and the specified <paramref name="other" /> span have the same characters when compared using the specified <paramref name="comparisonType" /> option.</summary>
1948 <param name="span">The source span.</param>
1949 <param name="other">The value to compare with the source span.</param>
1950 <param name="comparisonType">An enumeration value that determines how <paramref name="span" /> and <paramref name="other" /> are compared.</param>
1952 <see langword="true" /> if equal, <see langword="false" /> otherwise.</returns>
1954 <member name="M:System.MemoryExtensions.IndexOf(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Char},System.StringComparison)">
1955 <summary>Reports the zero-based index of the first occurrence of the specified <paramref name="value" /> in the current <paramref name="span" />.</summary>
1956 <param name="span">The source span.</param>
1957 <param name="value">The value to seek within the source span.</param>
1958 <param name="comparisonType">An enumeration value that determines how <paramref name="span" /> and <paramref name="value" /> are compared.</param>
1959 <returns>The index of the occurrence of the value in the span.</returns>
1961 <member name="M:System.MemoryExtensions.IndexOf``1(System.ReadOnlySpan{``0},``0)">
1962 <summary>Searches for the specified value and returns the index of its first occurrence. Values are compared using IEquatable{T}.Equals(T).</summary>
1963 <param name="span">The span to search.</param>
1964 <param name="value">The value to search for.</param>
1965 <typeparam name="T">The type of the span and value.</typeparam>
1966 <returns>The index of the occurrence of the value in the span. If not found, returns -1.</returns>
1968 <member name="M:System.MemoryExtensions.IndexOf``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
1969 <summary>Searches for the specified sequence and returns the index of its first occurrence. Values are compared using IEquatable{T}.Equals(T).</summary>
1970 <param name="span">The span to search.</param>
1971 <param name="value">The sequence to search for.</param>
1972 <typeparam name="T">The type of the span and value.</typeparam>
1973 <returns>The index of the occurrence of the value in the span. If not found, returns -1.</returns>
1975 <member name="M:System.MemoryExtensions.IndexOf``1(System.Span{``0},``0)">
1976 <summary>Searches for the specified value and returns the index of its first occurrence. Values are compared using IEquatable{T}.Equals(T).</summary>
1977 <param name="span">The span to search.</param>
1978 <param name="value">The value to search for.</param>
1979 <typeparam name="T">The type of the span and value.</typeparam>
1980 <returns>The index of the occurrence of the value in the span. If not found, returns -1.</returns>
1982 <member name="M:System.MemoryExtensions.IndexOf``1(System.Span{``0},System.ReadOnlySpan{``0})">
1983 <summary>Searches for the specified sequence and returns the index of its first occurrence. Values are compared using IEquatable{T}.Equals(T).</summary>
1984 <param name="span">The span to search.</param>
1985 <param name="value">The sequence to search for.</param>
1986 <typeparam name="T">The type of the span and value.</typeparam>
1987 <returns>The index of the occurrence of the value in the span. If not found, returns -1.</returns>
1989 <member name="M:System.MemoryExtensions.IndexOfAny``1(System.ReadOnlySpan{``0},``0,``0)">
1990 <summary>Searches for the first index of any of the specified values similar to calling IndexOf several times with the logical OR operator.</summary>
1991 <param name="span">The span to search.</param>
1992 <param name="value0">One of the values to search for.</param>
1993 <param name="value1">One of the values to search for.</param>
1994 <typeparam name="T">The type of the span and values.</typeparam>
1995 <returns>The first index of the occurrence of any of the values in the span. If not found, returns -1.</returns>
1997 <member name="M:System.MemoryExtensions.IndexOfAny``1(System.ReadOnlySpan{``0},``0,``0,``0)">
1998 <summary>Searches for the first index of any of the specified values similar to calling IndexOf several times with the logical OR operator.</summary>
1999 <param name="span">The span to search.</param>
2000 <param name="value0">One of the values to search for.</param>
2001 <param name="value1">One of the values to search for.</param>
2002 <param name="value2">One of the values to search for.</param>
2003 <typeparam name="T">The type of the span and values.</typeparam>
2004 <returns>The first index of the occurrence of any of the values in the span. If not found, returns -1.</returns>
2006 <member name="M:System.MemoryExtensions.IndexOfAny``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
2007 <summary>Searches for the first index of any of the specified values similar to calling IndexOf several times with the logical OR operator.</summary>
2008 <param name="span">The span to search.</param>
2009 <param name="values">The set of values to search for.</param>
2010 <typeparam name="T">The type of the span and values.</typeparam>
2011 <returns>The first index of the occurrence of any of the values in the span. If not found, returns -1.</returns>
2013 <member name="M:System.MemoryExtensions.IndexOfAny``1(System.Span{``0},``0,``0)">
2014 <summary>Searches for the first index of any of the specified values similar to calling IndexOf several times with the logical OR operator.</summary>
2015 <param name="span">The span to search.</param>
2016 <param name="value0">One of the values to search for.</param>
2017 <param name="value1">One of the values to search for.</param>
2018 <typeparam name="T">The type of the span and values.</typeparam>
2019 <returns>The first index of the occurrence of any of the values in the span. If not found, returns -1.</returns>
2021 <member name="M:System.MemoryExtensions.IndexOfAny``1(System.Span{``0},``0,``0,``0)">
2022 <summary>Searches for the first index of any of the specified values similar to calling IndexOf several times with the logical OR operator.</summary>
2023 <param name="span">The span to search.</param>
2024 <param name="value0">One of the values to search for.</param>
2025 <param name="value1">One of the values to search for.</param>
2026 <param name="value2">One of the values to search for.</param>
2027 <typeparam name="T">The type of the span and values.</typeparam>
2028 <returns>The first index of the occurrence of any of the values in the span. If not found, returns -1.</returns>
2030 <member name="M:System.MemoryExtensions.IndexOfAny``1(System.Span{``0},System.ReadOnlySpan{``0})">
2031 <summary>Searches for the first index of any of the specified values similar to calling IndexOf several times with the logical OR operator.</summary>
2032 <param name="span">The span to search.</param>
2033 <param name="values">The set of values to search for.</param>
2034 <typeparam name="T">The type of the span and values.</typeparam>
2035 <returns>The first index of the occurrence of any of the values in the span. If not found, returns -1.</returns>
2037 <member name="M:System.MemoryExtensions.IsWhiteSpace(System.ReadOnlySpan{System.Char})">
2038 <summary>Indicates whether the specified span contains only whitespace characters.</summary>
2039 <param name="span">The source span.</param>
2041 <see langword="true" /> if the span contains only whitespace characters, <see langword="false" /> otherwise.</returns>
2043 <member name="M:System.MemoryExtensions.LastIndexOf(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Char},System.StringComparison)">
2044 <summary>Reports the zero-based index of the last occurrence of the specified <paramref name="value" /> in the current <paramref name="span" />.</summary>
2045 <param name="span">The source span.</param>
2046 <param name="value">The value to seek within the source span.</param>
2047 <param name="comparisonType">An enumeration value that determines how <paramref name="span" /> and <paramref name="value" /> are compared.</param>
2048 <returns>The index of the last occurrence of the value in the span.</returns>
2050 <member name="M:System.MemoryExtensions.LastIndexOf``1(System.ReadOnlySpan{``0},``0)">
2051 <summary>Searches for the specified value and returns the index of its last occurrence. Values are compared using IEquatable{T}.Equals(T).</summary>
2052 <param name="span">The span to search.</param>
2053 <param name="value">The value to search for.</param>
2054 <typeparam name="T">The type of the span and value.</typeparam>
2055 <returns>The index of the last occurrence of the value in the span. If not found, returns -1.</returns>
2057 <member name="M:System.MemoryExtensions.LastIndexOf``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
2058 <summary>Searches for the specified sequence and returns the index of its last occurrence. Values are compared using IEquatable{T}.Equals(T).</summary>
2059 <param name="span">The span to search.</param>
2060 <param name="value">The sequence to search for.</param>
2061 <typeparam name="T">The type of the span and value.</typeparam>
2062 <returns>The index of the last occurrence of the value in the span. If not found, returns -1.</returns>
2064 <member name="M:System.MemoryExtensions.LastIndexOf``1(System.Span{``0},``0)">
2065 <summary>Searches for the specified value and returns the index of its last occurrence. Values are compared using IEquatable{T}.Equals(T).</summary>
2066 <param name="span">The span to search.</param>
2067 <param name="value">The value to search for.</param>
2068 <typeparam name="T">The type of the span and value.</typeparam>
2069 <returns>The index of the last occurrence of the value in the span. If not found, returns -1.</returns>
2071 <member name="M:System.MemoryExtensions.LastIndexOf``1(System.Span{``0},System.ReadOnlySpan{``0})">
2072 <summary>Searches for the specified sequence and returns the index of its last occurrence. Values are compared using IEquatable{T}.Equals(T).</summary>
2073 <param name="span">The span to search.</param>
2074 <param name="value">The sequence to search for.</param>
2075 <typeparam name="T">The type of the span and value.</typeparam>
2076 <returns>The index of the last occurrence of the value in the span. If not found, returns -1.</returns>
2078 <member name="M:System.MemoryExtensions.LastIndexOfAny``1(System.ReadOnlySpan{``0},``0,``0)">
2079 <summary>Searches for the last index of any of the specified values similar to calling LastIndexOf several times with the logical OR operator.</summary>
2080 <param name="span">The span to search.</param>
2081 <param name="value0">One of the values to search for.</param>
2082 <param name="value1">One of the values to search for.</param>
2083 <typeparam name="T">The type of the span and values.</typeparam>
2084 <returns>The index of the last occurrence of any of the values in the span. If not found, returns -1.</returns>
2086 <member name="M:System.MemoryExtensions.LastIndexOfAny``1(System.ReadOnlySpan{``0},``0,``0,``0)">
2087 <summary>Searches for the last index of any of the specified values similar to calling LastIndexOf several times with the logical OR operator.</summary>
2088 <param name="span">The span to search.</param>
2089 <param name="value0">One of the values to search for.</param>
2090 <param name="value1">One of the values to search for.</param>
2091 <param name="value2">One of the values to search for.</param>
2092 <typeparam name="T">The type of the span and values.</typeparam>
2093 <returns>The index of the last occurrence of any of the values in the span. If not found, returns -1.</returns>
2095 <member name="M:System.MemoryExtensions.LastIndexOfAny``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
2096 <summary>Searches for the last index of any of the specified values similar to calling LastIndexOf several times with the logical OR operator.</summary>
2097 <param name="span">The span to search.</param>
2098 <param name="values">The set of values to search for.</param>
2099 <typeparam name="T">The type of the span and values.</typeparam>
2100 <returns>The index of the last occurrence of any of the values in the span. If not found, returns -1.</returns>
2102 <member name="M:System.MemoryExtensions.LastIndexOfAny``1(System.Span{``0},``0,``0)">
2103 <summary>Searches for the last index of any of the specified values similar to calling LastIndexOf several times with the logical OR operator.</summary>
2104 <param name="span">The span to search.</param>
2105 <param name="value0">One of the values to search for.</param>
2106 <param name="value1">One of the values to search for.</param>
2107 <typeparam name="T">The type of the span and values.</typeparam>
2108 <returns>The index of the last occurrence of any of the values in the span. If not found, returns -1.</returns>
2110 <member name="M:System.MemoryExtensions.LastIndexOfAny``1(System.Span{``0},``0,``0,``0)">
2111 <summary>Searches for the last index of any of the specified values similar to calling LastIndexOf several times with the logical OR operator.</summary>
2112 <param name="span">The span to search.</param>
2113 <param name="value0">One of the values to search for.</param>
2114 <param name="value1">One of the values to search for.</param>
2115 <param name="value2">One of the values to search for.</param>
2116 <typeparam name="T">The type of the span and values.</typeparam>
2117 <returns>The index of the last occurrence of any of the values in the span. If not found, returns -1.</returns>
2119 <member name="M:System.MemoryExtensions.LastIndexOfAny``1(System.Span{``0},System.ReadOnlySpan{``0})">
2120 <summary>Searches for the last index of any of the specified values similar to calling LastIndexOf several times with the logical OR operator.</summary>
2121 <param name="span">The span to search.</param>
2122 <param name="values">The set of values to search for.</param>
2123 <typeparam name="T">The type of the span and values.</typeparam>
2124 <returns>The index of the last occurrence of any of the values in the span. If not found, returns -1.</returns>
2126 <member name="M:System.MemoryExtensions.Overlaps``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
2127 <summary>Determines whether two read-only sequences overlap in memory.</summary>
2128 <param name="span">The first sequence.</param>
2129 <param name="other">The second sequence.</param>
2130 <typeparam name="T">The type of elements in the read-only sequence.</typeparam>
2132 <see langword="true" /> if the two sequences overlap; otherwise, <see langword="false" />.</returns>
2134 <member name="M:System.MemoryExtensions.Overlaps``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0},System.Int32@)">
2135 <summary>Determines whether two read-only sequences overlap in memory and outputs the element offset.</summary>
2136 <param name="span">The first sequence.</param>
2137 <param name="other">The second sequence.</param>
2138 <param name="elementOffset">When the method returns, contains the offset between <paramref name="span" /> and <paramref name="other" />.</param>
2139 <typeparam name="T">The type of elements in the span.</typeparam>
2141 <see langword="true" /> if the two sequences overlap; otherwise, <see langword="false" />.</returns>
2143 <member name="M:System.MemoryExtensions.Overlaps``1(System.Span{``0},System.ReadOnlySpan{``0})">
2144 <summary>Determines whether a span and a read-only span overlap in memory.</summary>
2145 <param name="span">The span to compare.</param>
2146 <param name="other">The read-only span to compare.</param>
2147 <typeparam name="T">The type of elements in the span.</typeparam>
2149 <see langword="true" /> if the two sequences overlap; otherwise, <see langword="false" />.</returns>
2151 <member name="M:System.MemoryExtensions.Overlaps``1(System.Span{``0},System.ReadOnlySpan{``0},System.Int32@)">
2152 <summary>Determines whether a span and a read-only span overlap in memory and outputs the element offset.</summary>
2153 <param name="span">The first sequence to compare.</param>
2154 <param name="other">The second sequence to compare.</param>
2155 <param name="elementOffset">When the method returns, contains the offset between <paramref name="span" /> and <paramref name="other" />.</param>
2156 <typeparam name="T">The type of elements in the span.</typeparam>
2158 <see langword="true" /> if the two sequences overlap; otherwise, <see langword="false" />.</returns>
2160 <member name="M:System.MemoryExtensions.Reverse``1(System.Span{``0})">
2161 <summary>Reverses the sequence of the elements in the entire span.</summary>
2162 <param name="span">The span to reverse.</param>
2163 <typeparam name="T">The type of elements in the span.</typeparam>
2165 <member name="M:System.MemoryExtensions.SequenceCompareTo``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
2166 <summary>Determines the relative order of two read-only sequences by comparing their elements using IComparable{T}.CompareTo(T).</summary>
2167 <param name="span">The first sequence to compare.</param>
2168 <param name="other">The second sequence to compare.</param>
2169 <typeparam name="T">The type of elements in the sequence.</typeparam>
2170 <returns>A signed integer that indicates the relative order of <paramref name="span" /> and <paramref name="other" />:<br /> - If less than 0, <paramref name="span" /> precedes than <paramref name="other" />.<br /> - If 0, <paramref name="span" /> equals <paramref name="other" />.<br /> - If greater than 0, <paramref name="span" /> follows <paramref name="other" />.</returns>
2172 <member name="M:System.MemoryExtensions.SequenceCompareTo``1(System.Span{``0},System.ReadOnlySpan{``0})">
2173 <summary>Determines the relative order of a span and a read-only span by comparing the elements using IComparable{T}.CompareTo(T).</summary>
2174 <param name="span">The span to compare.</param>
2175 <param name="other">The read-only span to compare.</param>
2176 <typeparam name="T">The type of elements in the span.</typeparam>
2177 <returns>A signed integer that indicates the relative order of <paramref name="span" /> and <paramref name="other" />:<br /> - If less than 0, <paramref name="span" /> precedes than <paramref name="other" />.<br /> - If 0, <paramref name="span" /> equals <paramref name="other" />.<br /> - If greater than 0, <paramref name="span" /> follows <paramref name="other" />.</returns>
2179 <member name="M:System.MemoryExtensions.SequenceEqual``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
2180 <summary>Determines whether two read-only sequences are equal by comparing the elements using IEquatable{T}.Equals(T).</summary>
2181 <param name="span">The first sequence to compare.</param>
2182 <param name="other">The second sequence to compare.</param>
2183 <typeparam name="T">The type of elements in the sequence.</typeparam>
2185 <see langword="true" /> if the two sequences are equal; otherwise, <see langword="false" />.</returns>
2187 <member name="M:System.MemoryExtensions.SequenceEqual``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0},System.Collections.Generic.IEqualityComparer{``0})">
2188 <summary>Determines whether two sequences are equal by comparing the elements using an <see cref="T:System.Collections.Generic.IEqualityComparer`1" />.</summary>
2189 <param name="span">The first sequence to compare.</param>
2190 <param name="other">The second sequence to compare.</param>
2191 <param name="comparer">The <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> implementation to use when comparing elements, or <see langword="null" /> to use the default <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> for the type of an element.</param>
2192 <typeparam name="T">The type of elements in the sequence.</typeparam>
2194 <see langword="true" /> if the two sequences are equal; otherwise, <see langword="false" />.</returns>
2196 <member name="M:System.MemoryExtensions.SequenceEqual``1(System.Span{``0},System.ReadOnlySpan{``0})">
2197 <summary>Determines whether a span and a read-only span are equal by comparing the elements using IEquatable{T}.Equals(T).</summary>
2198 <param name="span">The span to compare.</param>
2199 <param name="other">The read-only span to compare.</param>
2200 <typeparam name="T">The type of elements in the sequence.</typeparam>
2202 <see langword="true" /> if the two sequences are equal; otherwise, <see langword="false" />.</returns>
2204 <member name="M:System.MemoryExtensions.SequenceEqual``1(System.Span{``0},System.ReadOnlySpan{``0},System.Collections.Generic.IEqualityComparer{``0})">
2205 <summary>Determines whether two sequences are equal by comparing the elements using an <see cref="T:System.Collections.Generic.IEqualityComparer`1" />.</summary>
2206 <param name="span">The first sequence to compare.</param>
2207 <param name="other">The second sequence to compare.</param>
2208 <param name="comparer">The <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> implementation to use when comparing elements, or <see langword="null" /> to use the default <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> for the type of an element.</param>
2209 <typeparam name="T">The type of elements in the sequence.</typeparam>
2211 <see langword="true" /> if the two sequences are equal; otherwise, <see langword="false" />.</returns>
2213 <member name="M:System.MemoryExtensions.Sort``1(System.Span{``0})">
2214 <summary>Sorts the elements in the entire <see cref="T:System.Span`1" /> using the <see cref="T:System.IComparable`1" /> implementation of each element of the <see cref="T:System.Span`1" />.</summary>
2215 <param name="span">The span of memory to sort.</param>
2216 <typeparam name="T">The type of the elements of the span.</typeparam>
2217 <exception cref="T:System.InvalidOperationException">One or more elements in <paramref name="span" /> do not implement the <see cref="T:System.IComparable`1" /> interface.</exception>
2219 <member name="M:System.MemoryExtensions.Sort``1(System.Span{``0},System.Comparison{``0})">
2220 <summary>Sorts the elements in the entire <see cref="T:System.Span`1" /> using the specified <see cref="T:System.Comparison`1" />.</summary>
2221 <param name="span">The span of memory to sort.</param>
2222 <param name="comparison">The method to use when comparing elements.</param>
2223 <typeparam name="T">The type of the elements of the span.</typeparam>
2224 <exception cref="T:System.ArgumentNullException">
2225 <paramref name="comparison" /> is <see langword="null" />.</exception>
2227 <member name="M:System.MemoryExtensions.Sort``2(System.Span{``0},``1)">
2228 <summary>Sorts the elements in the entire <see cref="T:System.Span`1" /> using the <typeparamref name="TComparer" />.</summary>
2229 <param name="span">The span of memory to sort.</param>
2230 <param name="comparer">The method to use when comparing elements, or <see langword="null" /> to use each element's <see cref="T:System.IComparable`1" /> interface implementation.</param>
2231 <typeparam name="T">The type of the elements of the span.</typeparam>
2232 <typeparam name="TComparer">The type of the comparer to use to compare elements.</typeparam>
2233 <exception cref="T:System.InvalidOperationException">
2234 <paramref name="comparer" /> is <see langword="null" />, and one or more elements in <paramref name="span" /> do not implement the <see cref="T:System.IComparable`1" /> interface.</exception>
2235 <exception cref="T:System.ArgumentException">The implementation of <paramref name="comparer" /> caused an error during the sort.</exception>
2237 <member name="M:System.MemoryExtensions.Sort``2(System.Span{``0},System.Span{``1})">
2238 <summary>Sorts a pair of spans (one containing the keys and the other containing the corresponding items) based on the keys in the first <see cref="T:System.Span`1" /> using the <see cref="T:System.IComparable`1" /> implementation of each key.</summary>
2239 <param name="keys">The span that contains the keys to sort.</param>
2240 <param name="items">The span that contains the items that correspond to the keys in <paramref name="keys" />.</param>
2241 <typeparam name="TKey">The type of the elements of the key span.</typeparam>
2242 <typeparam name="TValue">The type of the elements of the items span.</typeparam>
2243 <exception cref="T:System.ArgumentException">The length of <paramref name="keys" /> isn't equal to the length of <paramref name="items" />.</exception>
2244 <exception cref="T:System.InvalidOperationException">One or more elements in <paramref name="keys" /> do not implement the <see cref="T:System.IComparable`1" /> interface.</exception>
2246 <member name="M:System.MemoryExtensions.Sort``2(System.Span{``0},System.Span{``1},System.Comparison{``0})">
2247 <summary>Sorts a pair of spans (one containing the keys and the other containing the corresponding items) based on the keys in the first <see cref="T:System.Span`1" /> using the specified comparison.</summary>
2248 <param name="keys">The span that contains the keys to sort.</param>
2249 <param name="items">The span that contains the items that correspond to the keys in <paramref name="keys" />.</param>
2250 <param name="comparison">The <see cref="T:System.Comparison`1" /> to use when comparing elements.</param>
2251 <typeparam name="TKey">The type of the elements of the key span.</typeparam>
2252 <typeparam name="TValue">The type of the elements of the items span.</typeparam>
2253 <exception cref="T:System.ArgumentNullException">
2254 <paramref name="comparison" /> is <see langword="null" />.</exception>
2255 <exception cref="T:System.ArgumentException">The length of <paramref name="keys" /> isn't equal to the length of <paramref name="items" />.</exception>
2257 <member name="M:System.MemoryExtensions.Sort``3(System.Span{``0},System.Span{``1},``2)">
2258 <summary>Sorts a pair of spans (one containing the keys and the other containing the corresponding items) based on the keys in the first <see cref="T:System.Span`1" /> using the specified comparer.</summary>
2259 <param name="keys">The span that contains the keys to sort.</param>
2260 <param name="items">The span that contains the items that correspond to the keys in <paramref name="keys" />.</param>
2261 <param name="comparer">The <see cref="T:System.Collections.Generic.IComparer`1" /> implementation to use when comparing elements, or <see langword="null" /> to use the <see cref="T:System.IComparable`1" /> interface implementation of each element.</param>
2262 <typeparam name="TKey">The type of the elements of the key span.</typeparam>
2263 <typeparam name="TValue">The type of the elements of the items span.</typeparam>
2264 <typeparam name="TComparer">The type of the comparer to use to compare elements.</typeparam>
2265 <exception cref="T:System.ArgumentException">The length of <paramref name="keys" /> isn't equal to the length of <paramref name="items" />.</exception>
2266 <exception cref="T:System.InvalidOperationException">
2267 <paramref name="comparer" /> is <see langword="null" />, and one or more elements in <paramref name="keys" /> do not implement the <see cref="T:System.IComparable`1" /> interface.</exception>
2269 <member name="M:System.MemoryExtensions.StartsWith(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Char},System.StringComparison)">
2270 <summary>Determines whether a read-only character span begins with a specified value when compared using a specified <see cref="T:System.StringComparison" /> value.</summary>
2271 <param name="span">The source span.</param>
2272 <param name="value">The sequence to compare to the beginning of the source span.</param>
2273 <param name="comparisonType">An enumeration value that determines how <paramref name="span" /> and <paramref name="value" /> are compared.</param>
2275 <see langword="true" /> if <paramref name="value" /> matches the beginning of <paramref name="span" />; otherwise, <see langword="false" />.</returns>
2277 <member name="M:System.MemoryExtensions.StartsWith``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
2278 <summary>Determines whether a specified sequence appears at the start of a read-only span.</summary>
2279 <param name="span">The read-only character span to search.</param>
2280 <param name="value">A sequence to search for at the start of <paramref name="span" />.</param>
2281 <typeparam name="T">The type of elements in the span.</typeparam>
2283 <see langword="true" /> if <paramref name="value" /> matches the beginning of <paramref name="span" />; otherwise, <see langword="false" />.</returns>
2285 <member name="M:System.MemoryExtensions.StartsWith``1(System.Span{``0},System.ReadOnlySpan{``0})">
2286 <summary>Determines whether a specified sequence appears at the start of a span.</summary>
2287 <param name="span">The span to search.</param>
2288 <param name="value">A sequence to search for at the start of <paramref name="span" />.</param>
2289 <typeparam name="T">The type of the elements in the span.</typeparam>
2291 <see langword="true" /> if <paramref name="value" /> matches the beginning of <paramref name="span" />; otherwise, <see langword="false" />.</returns>
2293 <member name="M:System.MemoryExtensions.ToLower(System.ReadOnlySpan{System.Char},System.Span{System.Char},System.Globalization.CultureInfo)">
2294 <summary>Copies the characters from the source span into the destination, converting each character to lowercase, using the casing rules of the specified culture.</summary>
2295 <param name="source">The source span.</param>
2296 <param name="destination">The destination span which contains the transformed characters.</param>
2297 <param name="culture">An object that supplies culture-specific casing rules.</param>
2298 <exception cref="T:System.InvalidOperationException">The source and destination buffers overlap.</exception>
2299 <returns>The number of characters written into the destination span. If the destination is too small, returns -1.</returns>
2301 <member name="M:System.MemoryExtensions.ToLowerInvariant(System.ReadOnlySpan{System.Char},System.Span{System.Char})">
2302 <summary>Copies the characters from the source span into the destination, converting each character to lowercase, using the casing rules of the invariant culture.</summary>
2303 <param name="source">The source span.</param>
2304 <param name="destination">The destination span which contains the transformed characters.</param>
2305 <exception cref="T:System.InvalidOperationException">The source and destination buffers overlap.</exception>
2306 <returns>The number of characters written into the destination span. If the destination is too small, returns -1.</returns>
2308 <member name="M:System.MemoryExtensions.ToUpper(System.ReadOnlySpan{System.Char},System.Span{System.Char},System.Globalization.CultureInfo)">
2309 <summary>Copies the characters from the source span into the destination, converting each character to uppercase, using the casing rules of the specified culture.</summary>
2310 <param name="source">The source span.</param>
2311 <param name="destination">The destination span which contains the transformed characters.</param>
2312 <param name="culture">An object that supplies culture-specific casing rules.</param>
2313 <exception cref="T:System.InvalidOperationException">The source and destination buffers overlap.</exception>
2314 <returns>The number of characters written into the destination span. If the destination is too small, returns -1.</returns>
2316 <member name="M:System.MemoryExtensions.ToUpperInvariant(System.ReadOnlySpan{System.Char},System.Span{System.Char})">
2317 <summary>Copies the characters from the source span into the destination, converting each character to uppercase using the casing rules of the invariant culture.</summary>
2318 <param name="source">The source span.</param>
2319 <param name="destination">The destination span which contains the transformed characters.</param>
2320 <exception cref="T:System.InvalidOperationException">The source and destination buffers overlap.</exception>
2321 <returns>The number of characters written into the destination span. If the destination is too small, returns -1.</returns>
2323 <member name="M:System.MemoryExtensions.Trim(System.Memory{System.Char})">
2324 <summary>Removes all leading and trailing whitespace characters from a character memory region.</summary>
2325 <param name="memory">The source memory from which the characters are removed.</param>
2326 <returns>The trimmed character memory region.</returns>
2328 <member name="M:System.MemoryExtensions.Trim(System.ReadOnlyMemory{System.Char})">
2329 <summary>Removes all leading and trailing whitespace characters from a read-only character memory region.</summary>
2330 <param name="memory">The source memory from which the characters are removed.</param>
2331 <returns>The trimmed character memory region.</returns>
2333 <member name="M:System.MemoryExtensions.Trim(System.ReadOnlySpan{System.Char})">
2334 <summary>Removes all leading and trailing whitespace characters from a read-only character span.</summary>
2335 <param name="span">The source span from which the characters are removed.</param>
2336 <returns>The trimmed read-only character span.</returns>
2338 <member name="M:System.MemoryExtensions.Trim(System.ReadOnlySpan{System.Char},System.Char)">
2339 <summary>Removes all leading and trailing occurrences of a specified character from a read-only character span.</summary>
2340 <param name="span">The source span from which the character is removed.</param>
2341 <param name="trimChar">The specified character to look for and remove.</param>
2342 <returns>The trimmed read-only character span.</returns>
2344 <member name="M:System.MemoryExtensions.Trim(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Char})">
2345 <summary>Removes all leading and trailing occurrences of a set of characters specified in a read-only span from a read-only character span.</summary>
2346 <param name="span">The source span from which the characters are removed.</param>
2347 <param name="trimChars">The span which contains the set of characters to remove.</param>
2348 <returns>The trimmed read-only character span.</returns>
2350 <member name="M:System.MemoryExtensions.Trim(System.Span{System.Char})">
2351 <summary>Removes all leading and trailing whitespace characters from a character span.</summary>
2352 <param name="span">The source span from which the characters are removed.</param>
2353 <returns>The trimmed character span.</returns>
2355 <member name="M:System.MemoryExtensions.Trim``1(System.Memory{``0},``0)">
2356 <summary>Removes all leading and trailing occurrences of a specified element from a memory region.</summary>
2357 <param name="memory">The source memory from which the element is removed.</param>
2358 <param name="trimElement">The specified element to look for and remove.</param>
2359 <typeparam name="T">The type of the elements in the memory region.</typeparam>
2360 <returns>The trimmed memory region.</returns>
2362 <member name="M:System.MemoryExtensions.Trim``1(System.Memory{``0},System.ReadOnlySpan{``0})">
2363 <summary>Removes all leading and trailing occurrences of a set of elements specified in a read-only span from a memory region.</summary>
2364 <param name="memory">The source memory from which the elements are removed.</param>
2365 <param name="trimElements">The span which contains the set of elements to remove.</param>
2366 <typeparam name="T">The type of the elements in the memory region.</typeparam>
2367 <returns>The trimmed memory region.</returns>
2369 <member name="M:System.MemoryExtensions.Trim``1(System.ReadOnlyMemory{``0},``0)">
2370 <summary>Removes all leading and trailing occurrences of a specified element from a read-only memory region.</summary>
2371 <param name="memory">The source memory from which the element is removed.</param>
2372 <param name="trimElement">The specified element to look for and remove.</param>
2373 <typeparam name="T">The type of the elements in the read-only memory region.</typeparam>
2374 <returns>The trimmed read-only memory region.</returns>
2376 <member name="M:System.MemoryExtensions.Trim``1(System.ReadOnlyMemory{``0},System.ReadOnlySpan{``0})">
2377 <summary>Removes all leading and trailing occurrences of a set of elements specified in a read-only span from a read-only memory region.</summary>
2378 <param name="memory">The source memory from which the elements are removed.</param>
2379 <param name="trimElements">The span which contains the set of elements to remove.</param>
2380 <typeparam name="T">The type of the elements in the read-only memory region.</typeparam>
2381 <returns>The trimmed read-only memory region.</returns>
2383 <member name="M:System.MemoryExtensions.Trim``1(System.ReadOnlySpan{``0},``0)">
2384 <summary>Removes all leading and trailing occurrences of a specified element from a read-only span.</summary>
2385 <param name="span">The source span from which the element is removed.</param>
2386 <param name="trimElement">The specified element to look for and remove.</param>
2387 <typeparam name="T">The type of the elements in the read-only span.</typeparam>
2388 <returns>The trimmed read-only span.</returns>
2390 <member name="M:System.MemoryExtensions.Trim``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
2391 <summary>Removes all leading and trailing occurrences of a set of elements specified in a read-only span from a read-only span.</summary>
2392 <param name="span">The source span from which the elements are removed.</param>
2393 <param name="trimElements">The span which contains the set of elements to remove.</param>
2394 <typeparam name="T">The type of the elements in the read-only span.</typeparam>
2395 <returns>The trimmed read-only span.</returns>
2397 <member name="M:System.MemoryExtensions.Trim``1(System.Span{``0},``0)">
2398 <summary>Removes all leading and trailing occurrences of a specified element from a span.</summary>
2399 <param name="span">The source span from which the element is removed.</param>
2400 <param name="trimElement">The specified element to look for and remove.</param>
2401 <typeparam name="T">The type of the elements in the span.</typeparam>
2402 <returns>The trimmed span.</returns>
2404 <member name="M:System.MemoryExtensions.Trim``1(System.Span{``0},System.ReadOnlySpan{``0})">
2405 <summary>Removes all leading and trailing occurrences of a set of elements specified in a read-only span from a span.</summary>
2406 <param name="span">The source span from which the elements are removed.</param>
2407 <param name="trimElements">The span which contains the set of elements to remove.</param>
2408 <typeparam name="T">The type of the elements in the span.</typeparam>
2409 <returns>The trimmed span.</returns>
2411 <member name="M:System.MemoryExtensions.TrimEnd(System.Memory{System.Char})">
2412 <summary>Removes all trailing whitespace characters from a character memory region.</summary>
2413 <param name="memory">The source memory from which the characters are removed.</param>
2414 <returns>The trimmed character memory region.</returns>
2416 <member name="M:System.MemoryExtensions.TrimEnd(System.ReadOnlyMemory{System.Char})">
2417 <summary>Removes all trailing whitespace characters from a read-only character memory region.</summary>
2418 <param name="memory">The source memory from which the characters are removed.</param>
2419 <returns>The trimmed read-only character span.</returns>
2421 <member name="M:System.MemoryExtensions.TrimEnd(System.ReadOnlySpan{System.Char})">
2422 <summary>Removes all trailing whitespace characters from a read-only character span.</summary>
2423 <param name="span">The source span from which the characters are removed.</param>
2424 <returns>The trimmed read-only character span.</returns>
2426 <member name="M:System.MemoryExtensions.TrimEnd(System.ReadOnlySpan{System.Char},System.Char)">
2427 <summary>Removes all trailing occurrences of a specified character from a read-only span.</summary>
2428 <param name="span">The source span from which the character is removed.</param>
2429 <param name="trimChar">The specified character to look for and remove.</param>
2430 <returns>The trimmed read-only character span.</returns>
2432 <member name="M:System.MemoryExtensions.TrimEnd(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Char})">
2433 <summary>Removes all trailing occurrences of a set of characters specified in a read-only span from a read-only character span.</summary>
2434 <param name="span">The source span from which the characters are removed.</param>
2435 <param name="trimChars">The span which contains the set of characters to remove.</param>
2436 <returns>The trimmed read-only character span.</returns>
2438 <member name="M:System.MemoryExtensions.TrimEnd(System.Span{System.Char})">
2439 <summary>Removes all trailing whitespace characters from a character span.</summary>
2440 <param name="span">The source span from which the characters are removed.</param>
2441 <returns>The trimmed character span.</returns>
2443 <member name="M:System.MemoryExtensions.TrimEnd``1(System.Memory{``0},``0)">
2444 <summary>Removes all trailing occurrences of a specified element from a character memory region.</summary>
2445 <param name="memory">The source memory from which the element is removed.</param>
2446 <param name="trimElement">The specified element to look for and remove.</param>
2447 <typeparam name="T">The type of the elements in the memory region.</typeparam>
2448 <returns>The trimmed memory region.</returns>
2450 <member name="M:System.MemoryExtensions.TrimEnd``1(System.Memory{``0},System.ReadOnlySpan{``0})">
2451 <summary>Removes all trailing occurrences of a set of elements specified in a read-only span from a memory region.</summary>
2452 <param name="memory">The source memory from which the elements are removed.</param>
2453 <param name="trimElements">The span which contains the set of elements to remove.</param>
2454 <typeparam name="T">The type of the elements in the memory region.</typeparam>
2455 <returns>The trimmed memory region.</returns>
2457 <member name="M:System.MemoryExtensions.TrimEnd``1(System.ReadOnlyMemory{``0},``0)">
2458 <summary>Removes all trailing occurrences of a specified element from a read-only memory region.</summary>
2459 <param name="memory">The source memory from which the element is removed.</param>
2460 <param name="trimElement">The specified element to look for and remove.</param>
2461 <typeparam name="T">The type of the elements in the read-only memory region.</typeparam>
2462 <returns>The trimmed read-only memory region.</returns>
2464 <member name="M:System.MemoryExtensions.TrimEnd``1(System.ReadOnlyMemory{``0},System.ReadOnlySpan{``0})">
2465 <summary>Removes all trailing occurrences of a set of elements specified in a read-only span from a read-only memory region.</summary>
2466 <param name="memory">The source memory from which the elements are removed.</param>
2467 <param name="trimElements">The span which contains the set of elements to remove.</param>
2468 <typeparam name="T">The type of the elements in the read-only memory region.</typeparam>
2469 <returns>The trimmed read-only memory region.</returns>
2471 <member name="M:System.MemoryExtensions.TrimEnd``1(System.ReadOnlySpan{``0},``0)">
2472 <summary>Removes all trailing occurrences of a specified element from a read-only span.</summary>
2473 <param name="span">The source span from which the element is removed.</param>
2474 <param name="trimElement">The specified element to look for and remove.</param>
2475 <typeparam name="T">The type of the elements in the read-only span.</typeparam>
2476 <returns>The trimmed read-only span.</returns>
2478 <member name="M:System.MemoryExtensions.TrimEnd``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
2479 <summary>Removes all trailing occurrences of a set of elements specified in a read-only span from a read-only span.</summary>
2480 <param name="span">The source span from which the elements are removed.</param>
2481 <param name="trimElements">The span which contains the set of elements to remove.</param>
2482 <typeparam name="T">The type of the elements in the read-only span.</typeparam>
2483 <returns>The trimmed read-only span.</returns>
2485 <member name="M:System.MemoryExtensions.TrimEnd``1(System.Span{``0},``0)">
2486 <summary>Removes all trailing occurrences of a specified element from a span.</summary>
2487 <param name="span">The source span from which the element is removed.</param>
2488 <param name="trimElement">The specified element to look for and remove.</param>
2489 <typeparam name="T">The type of the elements in the span.</typeparam>
2490 <returns>The trimmed span.</returns>
2492 <member name="M:System.MemoryExtensions.TrimEnd``1(System.Span{``0},System.ReadOnlySpan{``0})">
2493 <summary>Removes all trailing occurrences of a set of elements specified in a read-only span from a span.</summary>
2494 <param name="span">The source span from which the elements are removed.</param>
2495 <param name="trimElements">The span which contains the set of elements to remove.</param>
2496 <typeparam name="T">The type of the elements in the span.</typeparam>
2497 <returns>The trimmed span.</returns>
2499 <member name="M:System.MemoryExtensions.TrimStart(System.Memory{System.Char})">
2500 <summary>Removes all leading whitespace characters from a memory region.</summary>
2501 <param name="memory">The source memory from which the characters are removed.</param>
2502 <returns>The trimmed character memory region.</returns>
2504 <member name="M:System.MemoryExtensions.TrimStart(System.ReadOnlyMemory{System.Char})">
2505 <summary>Removes all leading whitespace characters from a read-only memory region.</summary>
2506 <param name="memory">The source memory from which the characters are removed.</param>
2507 <returns>The trimmed read-only character memory region.</returns>
2509 <member name="M:System.MemoryExtensions.TrimStart(System.ReadOnlySpan{System.Char})">
2510 <summary>Removes all leading whitespace characters from a read-only span.</summary>
2511 <param name="span">The source span from which the characters are removed.</param>
2512 <returns>The trimmed read-only character span.</returns>
2514 <member name="M:System.MemoryExtensions.TrimStart(System.ReadOnlySpan{System.Char},System.Char)">
2515 <summary>Removes all leading occurrences of a specified character from the span.</summary>
2516 <param name="span">The source span from which the character is removed.</param>
2517 <param name="trimChar">The specified character to look for and remove.</param>
2518 <returns>The trimmed read-only character span.</returns>
2520 <member name="M:System.MemoryExtensions.TrimStart(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Char})">
2521 <summary>Removes all leading occurrences of a set of characters specified in a read-only span from the span.</summary>
2522 <param name="span">The source span from which the characters are removed.</param>
2523 <param name="trimChars">The span which contains the set of characters to remove.</param>
2524 <returns>The trimmed read-only character span.</returns>
2526 <member name="M:System.MemoryExtensions.TrimStart(System.Span{System.Char})">
2527 <summary>Removes all leading whitespace characters from a span.</summary>
2528 <param name="span">The source span from which the characters are removed.</param>
2529 <returns>The trimmed character span.</returns>
2531 <member name="M:System.MemoryExtensions.TrimStart``1(System.Memory{``0},``0)">
2532 <summary>Removes all leading occurrences of a specified element from a memory region.</summary>
2533 <param name="memory">The source memory region from which the element is removed.</param>
2534 <param name="trimElement">The specified element to look for and remove.</param>
2535 <typeparam name="T">The type of the elements in the memory region.</typeparam>
2536 <returns>The trimmed memory region.</returns>
2538 <member name="M:System.MemoryExtensions.TrimStart``1(System.Memory{``0},System.ReadOnlySpan{``0})">
2539 <summary>Removes all leading occurrences of a set of elements specified in a read-only span from a memory region.</summary>
2540 <param name="memory">The source memory from which the elements are removed.</param>
2541 <param name="trimElements">The span which contains the set of elements to remove.</param>
2542 <typeparam name="T">The type of the elements in the memory region.</typeparam>
2543 <returns>The trimmed memory region.</returns>
2545 <member name="M:System.MemoryExtensions.TrimStart``1(System.ReadOnlyMemory{``0},``0)">
2546 <summary>Removes all leading occurrences of a specified element from a memory region.</summary>
2547 <param name="memory">The source memory from which the element is removed.</param>
2548 <param name="trimElement">The specified element to look for and remove.</param>
2549 <typeparam name="T">The type of the elements in the read-only memory region.</typeparam>
2550 <returns>The trimmed read-only memory region.</returns>
2552 <member name="M:System.MemoryExtensions.TrimStart``1(System.ReadOnlyMemory{``0},System.ReadOnlySpan{``0})">
2553 <summary>Removes all leading occurrences of a set of elements specified in a read-only span from a memory region.</summary>
2554 <param name="memory">The source memory from which the elements are removed.</param>
2555 <param name="trimElements">The span which contains the set of elements to remove.</param>
2556 <typeparam name="T">The type of the elements in the read-only memory region.</typeparam>
2557 <returns>The trimmed read-only memory region.</returns>
2559 <member name="M:System.MemoryExtensions.TrimStart``1(System.ReadOnlySpan{``0},``0)">
2560 <summary>Removes all leading occurrences of a specified element from the span.</summary>
2561 <param name="span">The source span from which the element is removed.</param>
2562 <param name="trimElement">The specified element to look for and remove.</param>
2563 <typeparam name="T">The type of the elements in the read-only span.</typeparam>
2564 <returns>The trimmed read-only span.</returns>
2566 <member name="M:System.MemoryExtensions.TrimStart``1(System.ReadOnlySpan{``0},System.ReadOnlySpan{``0})">
2567 <summary>Removes all leading occurrences of a set of elements specified in a read-only span from the span.</summary>
2568 <param name="span">The source span from which the elements are removed.</param>
2569 <param name="trimElements">The span which contains the set of elements to remove.</param>
2570 <typeparam name="T">The type of the elements in the read-only span.</typeparam>
2571 <returns>The trimmed read-only span.</returns>
2573 <member name="M:System.MemoryExtensions.TrimStart``1(System.Span{``0},``0)">
2574 <summary>Removes all leading occurrences of a specified element from the span.</summary>
2575 <param name="span">The source span from which the element is removed.</param>
2576 <param name="trimElement">The specified element to look for and remove.</param>
2577 <typeparam name="T">The type of the elements in the span.</typeparam>
2578 <returns>The trimmed span.</returns>
2580 <member name="M:System.MemoryExtensions.TrimStart``1(System.Span{``0},System.ReadOnlySpan{``0})">
2581 <summary>Removes all leading occurrences of a set of elements specified in a read-only span from the span.</summary>
2582 <param name="span">The source span from which the elements are removed.</param>
2583 <param name="trimElements">The span which contains the set of elements to remove.</param>
2584 <typeparam name="T">The type of the elements in the span.</typeparam>
2585 <returns>The trimmed span.</returns>
2587 <member name="M:System.MemoryExtensions.TryWrite(System.Span{System.Char},System.IFormatProvider,System.MemoryExtensions.TryWriteInterpolatedStringHandler@,System.Int32@)">
2588 <summary>Writes the specified interpolated string to the character span.</summary>
2589 <param name="destination">The span to which the interpolated string should be formatted.</param>
2590 <param name="provider">An object that supplies culture-specific formatting information.</param>
2591 <param name="handler">The interpolated string, passed by reference.</param>
2592 <param name="charsWritten">When this method returns, contains the number of characters written to the span.</param>
2594 <see langword="true" /> if the entire interpolated string could be formatted successfully; otherwise, <see langword="false" />.</returns>
2596 <member name="M:System.MemoryExtensions.TryWrite(System.Span{System.Char},System.MemoryExtensions.TryWriteInterpolatedStringHandler@,System.Int32@)">
2597 <summary>Writes the specified interpolated string to the character span.</summary>
2598 <param name="destination">The span to which the interpolated string should be formatted.</param>
2599 <param name="handler">The interpolated string, passed by reference.</param>
2600 <param name="charsWritten">When this method returns, contains the number of characters written to the span.</param>
2602 <see langword="true" /> if the entire interpolated string could be formatted successfully; otherwise, <see langword="false" />.</returns>
2604 <member name="T:System.MemoryExtensions.TryWriteInterpolatedStringHandler">
2605 <summary>Provides a handler used by the language compiler to format interpolated strings into character spans.</summary>
2607 <member name="M:System.MemoryExtensions.TryWriteInterpolatedStringHandler.#ctor(System.Int32,System.Int32,System.Span{System.Char},System.Boolean@)">
2608 <summary>Creates a handler used to write an interpolated string into a span of characterss.</summary>
2609 <param name="literalLength">The number of constant characters outside of interpolation expressions in the interpolated string.</param>
2610 <param name="formattedCount">The number of interpolation expressions in the interpolated string.</param>
2611 <param name="destination">The destination buffer.</param>
2612 <param name="shouldAppend">Upon return, <see langword="true" /> if the destination may be long enough to support the formatting, or <see langword="false" /> if it won't be.</param>
2614 <member name="M:System.MemoryExtensions.TryWriteInterpolatedStringHandler.#ctor(System.Int32,System.Int32,System.Span{System.Char},System.IFormatProvider,System.Boolean@)">
2615 <summary>Creates a handler used to write an interpolated string into a span of characters.</summary>
2616 <param name="literalLength">The number of constant characters outside of interpolation expressions in the interpolated string.</param>
2617 <param name="formattedCount">The number of interpolation expressions in the interpolated string.</param>
2618 <param name="destination">The destination buffer.</param>
2619 <param name="provider" />
2620 <param name="shouldAppend">Upon return, <see langword="true" /> if the destination may be long enough to support the formatting, or <see langword="false" /> if it won't be.</param>
2622 <member name="M:System.MemoryExtensions.TryWriteInterpolatedStringHandler.AppendFormatted(System.Object,System.Int32,System.String)">
2623 <summary>Writes the specified value to the handler.</summary>
2624 <param name="value">The value to write.</param>
2625 <param name="alignment">The minimum number of characters that should be written for this value. A negative value indicates left-aligned, and the required minimum is the absolute value.</param>
2626 <param name="format">The format string.</param>
2628 <see langword="true" /> on success; <see langword="false" /> otherwise.</returns>
2630 <member name="M:System.MemoryExtensions.TryWriteInterpolatedStringHandler.AppendFormatted(System.ReadOnlySpan{System.Char})">
2631 <summary>Writes the specified value to the handler.</summary>
2632 <param name="value">The value to write.</param>
2634 <see langword="false" /> if the operation failed; <see langword="true" /> otherwise.</returns>
2636 <member name="M:System.MemoryExtensions.TryWriteInterpolatedStringHandler.AppendFormatted(System.ReadOnlySpan{System.Char},System.Int32,System.String)">
2637 <summary>Writes the specified value to the handler.</summary>
2638 <param name="value">The value to write.</param>
2639 <param name="alignment">>The minimum number of characters that should be written for this value. If the value is negative, it indicates left-aligned and the required minimum is the absolute value.</param>
2640 <param name="format">The format string.</param>
2642 <see langword="false" /> if the operation failed; <see langword="true" /> otherwise.</returns>
2644 <member name="M:System.MemoryExtensions.TryWriteInterpolatedStringHandler.AppendFormatted(System.String)">
2645 <summary>Writes the specified value to the handler.</summary>
2646 <param name="value">The value to write.</param>
2648 <see langword="true" /> on success; <see langword="false" /> otherwise.</returns>
2650 <member name="M:System.MemoryExtensions.TryWriteInterpolatedStringHandler.AppendFormatted(System.String,System.Int32,System.String)">
2651 <summary>Writes a specified value to the handler using a specified format string.</summary>
2652 <param name="value">The value to write.</param>
2653 <param name="alignment">The minimum number of characters that should be written for this value. A negative value indicates left-aligned, and the required minimum is the absolute value.</param>
2654 <param name="format">The format string.</param>
2656 <see langword="true" /> on success; <see langword="false" /> otherwise.</returns>
2658 <member name="M:System.MemoryExtensions.TryWriteInterpolatedStringHandler.AppendFormatted``1(``0)">
2659 <summary>Writes the specified value to the handler.</summary>
2660 <param name="value">The value to write.</param>
2661 <typeparam name="T">The type of the value to write.</typeparam>
2663 <see langword="true" /> on success; <see langword="false" /> otherwise.</returns>
2665 <member name="M:System.MemoryExtensions.TryWriteInterpolatedStringHandler.AppendFormatted``1(``0,System.Int32)">
2666 <summary>Writes the specified value to the handler.</summary>
2667 <param name="value">The value to write.</param>
2668 <param name="alignment">The minimum number of characters that should be written for this value.A negative value indicates left-aligned, and the required minimum is the absolute value.</param>
2669 <typeparam name="T">The type of the value to write.</typeparam>
2671 <see langword="false" /> if the operation failed; <see langword="true" /> otherwise.</returns>
2673 <member name="M:System.MemoryExtensions.TryWriteInterpolatedStringHandler.AppendFormatted``1(``0,System.Int32,System.String)">
2674 <summary>Writes a specified value to the handler using a specified format string.</summary>
2675 <param name="value">The value to write.</param>
2676 <param name="alignment">The minimum number of characters that should be written for this value. A negative value indicates left-aligned, and the required minimum is the absolute value.</param>
2677 <param name="format">The format string.</param>
2678 <typeparam name="T">The type of the value to write.</typeparam>
2680 <see langword="true" /> on success; <see langword="false" /> otherwise.</returns>
2682 <member name="M:System.MemoryExtensions.TryWriteInterpolatedStringHandler.AppendFormatted``1(``0,System.String)">
2683 <summary>Writes a specified value to the handler using a specified format string.</summary>
2684 <param name="value">The value to write.</param>
2685 <param name="format">The format string.</param>
2686 <typeparam name="T">The type of the value to write.</typeparam>
2688 <see langword="true" /> on success; <see langword="false" /> otherwise.</returns>
2690 <member name="M:System.MemoryExtensions.TryWriteInterpolatedStringHandler.AppendLiteral(System.String)">
2691 <summary>Writes the specified string to the handler.</summary>
2692 <param name="value">The string to write.</param>
2694 <see langword="true" /> if the value could be formatted to the span; otherwise, <see langword="false" />.</returns>
2696 <member name="T:System.Runtime.InteropServices.MemoryMarshal">
2697 <summary>Provides methods to interoperate with <see cref="T:System.Memory`1" />, <see cref="T:System.ReadOnlyMemory`1" />, <see cref="T:System.Span`1" />, and <see cref="T:System.ReadOnlySpan`1" />.</summary>
2699 <member name="M:System.Runtime.InteropServices.MemoryMarshal.AsBytes``1(System.ReadOnlySpan{``0})">
2700 <summary>Casts a <see cref="T:System.ReadOnlySpan`1" /> of one primitive type, <paramref name="T" />, to a <see langword="ReadOnlySpan<Byte>" />.</summary>
2701 <param name="span">The source slice to convert.</param>
2702 <typeparam name="T">The type of items in the read-only span.</typeparam>
2703 <exception cref="T:System.ArgumentException">
2704 <paramref name="T" /> contains references or pointers.</exception>
2705 <exception cref="T:System.OverflowException">The <see cref="P:System.ReadOnlySpan`1.Length" /> property of the new <see cref="T:System.ReadOnlySpan`1" /> would exceed <see cref="F:System.Int32.MaxValue" /></exception>
2706 <returns>A read-only span of type <see cref="T:System.Byte" />.</returns>
2708 <member name="M:System.Runtime.InteropServices.MemoryMarshal.AsBytes``1(System.Span{``0})">
2709 <summary>Casts a <see cref="T:System.Span`1" /> of one primitive type, <paramref name="T" />, to a <see langword="Span<Byte>" />.</summary>
2710 <param name="span">The source slice to convert.</param>
2711 <typeparam name="T">The type of items in the span.</typeparam>
2712 <exception cref="T:System.ArgumentException">
2713 <paramref name="T" /> contains references or pointers.</exception>
2714 <exception cref="T:System.OverflowException">The <see cref="P:System.Span`1.Length" /> property of the new <see cref="T:System.Span`1" /> would exceed <see cref="F:System.Int32.MaxValue" /></exception>
2715 <returns>A span of type <see cref="T:System.Byte" />.</returns>
2717 <member name="M:System.Runtime.InteropServices.MemoryMarshal.AsMemory``1(System.ReadOnlyMemory{``0})">
2718 <summary>Creates a <see cref="T:System.Memory`1" /> instance from a <see cref="T:System.ReadOnlyMemory`1" />.</summary>
2719 <param name="memory">The read-only memory buffer.</param>
2720 <typeparam name="T">The type of items in the read-only memory buffer.</typeparam>
2721 <returns>A memory block that represents the same memory as the <see cref="T:System.ReadOnlyMemory`1" />.</returns>
2723 <member name="M:System.Runtime.InteropServices.MemoryMarshal.AsRef``1(System.ReadOnlySpan{System.Byte})">
2724 <summary>Reinterprets a read-only span of bytes as a read-only reference to the structure of type <paramref name="T" />.</summary>
2725 <param name="span">The read-only span to reinterpret.</param>
2726 <typeparam name="T">The type of the returned reference.</typeparam>
2727 <returns>The read-only reference to the structure of type <paramref name="T" />.</returns>
2729 <member name="M:System.Runtime.InteropServices.MemoryMarshal.AsRef``1(System.Span{System.Byte})">
2730 <summary>Reinterprets a span of bytes as a reference to the structure of type <paramref name="T" />.</summary>
2731 <param name="span">The span to reinterpret.</param>
2732 <typeparam name="T">The type of the returned reference.</typeparam>
2733 <returns>The reference to the structure of type <paramref name="T" />.</returns>
2735 <member name="M:System.Runtime.InteropServices.MemoryMarshal.Cast``2(System.ReadOnlySpan{``0})">
2736 <summary>Casts a read-only span of one primitive type to a read-only span of another primitive type.</summary>
2737 <param name="span">The source slice to convert.</param>
2738 <typeparam name="TFrom">The type of the source span.</typeparam>
2739 <typeparam name="TTo">The type of the target span.</typeparam>
2740 <exception cref="T:System.ArgumentException">
2741 <paramref name="TFrom" /> or <paramref name="TTo" /> contains references or pointers.</exception>
2742 <returns>The converted read-only span.</returns>
2744 <member name="M:System.Runtime.InteropServices.MemoryMarshal.Cast``2(System.Span{``0})">
2745 <summary>Casts a span of one primitive type to a span of another primitive type.</summary>
2746 <param name="span">The source slice to convert.</param>
2747 <typeparam name="TFrom">The type of the source span.</typeparam>
2748 <typeparam name="TTo">The type of the target span.</typeparam>
2749 <exception cref="T:System.ArgumentException">
2750 <paramref name="TFrom" /> or <paramref name="TTo" /> contains references or pointers.</exception>
2751 <returns>The converted span.</returns>
2753 <member name="M:System.Runtime.InteropServices.MemoryMarshal.CreateFromPinnedArray``1(``0[],System.Int32,System.Int32)">
2754 <summary>Creates a new memory buffer over the portion of the pre-pinned target array beginning at the <paramref name="start" /> index and consisting of <paramref name="length" /> items.</summary>
2755 <param name="array">The pre-pinned source array.</param>
2756 <param name="start">The index of <paramref name="array" /> at which to begin the memory block.</param>
2757 <param name="length">The number of items to include in the memory block.</param>
2758 <typeparam name="T">The type of the array.</typeparam>
2759 <exception cref="T:System.ArrayTypeMismatchException">
2760 <paramref name="array" /> is covariant, and the type of <paramref name="array" /> is not exactly <paramref name="T[]" />.</exception>
2761 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="start" /> or the end index is not in the range of 0 to <see cref="P:System.Array.Length" />.</exception>
2762 <returns>A block of memory over the specified elements of <paramref name="array" />. If <paramref name="array" /> is <see langword="null" />, or if <paramref name="start" /> and <paramref name="length" /> are 0, the method returns a <see cref="T:System.Memory`1" /> instance of <see cref="P:System.Memory`1.Length" /> zero.</returns>
2764 <member name="M:System.Runtime.InteropServices.MemoryMarshal.CreateReadOnlySpan``1(``0@,System.Int32)">
2765 <summary>Creates a new read-only span over a portion of a regular managed object.</summary>
2766 <param name="reference">A reference to data.</param>
2767 <param name="length">The number of <paramref name="T" /> elements that <paramref name="reference" /> contains.</param>
2768 <typeparam name="T">The type of the data items.</typeparam>
2769 <returns>A read-only span.</returns>
2771 <member name="M:System.Runtime.InteropServices.MemoryMarshal.CreateReadOnlySpanFromNullTerminated(System.Byte*)">
2772 <summary>Creates a new read-only span for a null-terminated UTF8 string.</summary>
2773 <param name="value">The pointer to the null-terminated string of bytes.</param>
2774 <exception cref="T:System.ArgumentException">The string is longer than <see cref="F:System.Int32.MaxValue" />.</exception>
2775 <returns>A read-only span representing the specified null-terminated string, or an empty span if the pointer is <see langword="null" />.</returns>
2777 <member name="M:System.Runtime.InteropServices.MemoryMarshal.CreateReadOnlySpanFromNullTerminated(System.Char*)">
2778 <summary>Creates a new read-only span for a null-terminated string.</summary>
2779 <param name="value">The pointer to the null-terminated string of characters.</param>
2780 <exception cref="T:System.ArgumentException">The string is longer than <see cref="F:System.Int32.MaxValue" />.</exception>
2781 <returns>A read-only span representing the specified null-terminated string, or an empty span if the pointer is <see langword="null" />.</returns>
2783 <member name="M:System.Runtime.InteropServices.MemoryMarshal.CreateSpan``1(``0@,System.Int32)">
2784 <summary>Creates a new span over a portion of a regular managed object.</summary>
2785 <param name="reference">A reference to data.</param>
2786 <param name="length">The number of <paramref name="T" /> elements that <paramref name="reference" /> contains.</param>
2787 <typeparam name="T">The type of the data items.</typeparam>
2788 <returns>A span.</returns>
2790 <member name="M:System.Runtime.InteropServices.MemoryMarshal.GetArrayDataReference(System.Array)">
2791 <summary>Returns a reference to the 0th element of <paramref name="array" />. If the array is empty, returns a reference to where the 0th element would have been stored. Such a reference may be used for pinning but must never be dereferenced.</summary>
2792 <param name="array">The array to analyze.</param>
2793 <exception cref="T:System.NullReferenceException">
2794 <paramref name="array" /> is <see langword="null" />.</exception>
2795 <returns>A reference to the 0th element of <paramref name="array" />.</returns>
2797 <member name="M:System.Runtime.InteropServices.MemoryMarshal.GetArrayDataReference``1(``0[])">
2798 <summary>Returns a reference to the 0th element of <paramref name="array" />. If the array is empty, returns a reference to where the 0th element would have been stored. Such a reference may be used for pinning but must never be dereferenced.</summary>
2799 <param name="array">The array to analyze.</param>
2800 <typeparam name="T">The type of the array elements.</typeparam>
2801 <exception cref="T:System.NullReferenceException">
2802 <paramref name="array" /> is <see langword="null" />.</exception>
2803 <returns>Reference to the 0th element in <paramref name="array" />.</returns>
2805 <member name="M:System.Runtime.InteropServices.MemoryMarshal.GetReference``1(System.ReadOnlySpan{``0})">
2806 <summary>Returns a reference to the element of the read-only span at index 0.</summary>
2807 <param name="span">The read-only span from which the reference is retrieved.</param>
2808 <typeparam name="T">The type of items in the span.</typeparam>
2809 <returns>A reference to the element at index 0.</returns>
2811 <member name="M:System.Runtime.InteropServices.MemoryMarshal.GetReference``1(System.Span{``0})">
2812 <summary>Returns a reference to the element of the span at index 0.</summary>
2813 <param name="span">The span from which the reference is retrieved.</param>
2814 <typeparam name="T">The type of items in the span.</typeparam>
2815 <returns>A reference to the element at index 0.</returns>
2817 <member name="M:System.Runtime.InteropServices.MemoryMarshal.Read``1(System.ReadOnlySpan{System.Byte})">
2818 <summary>Reads a structure of type <typeparamref name="T" /> out of a read-only span of bytes.</summary>
2819 <param name="source">A read-only span.</param>
2820 <typeparam name="T">The type of the item to retrieve from the read-only span.</typeparam>
2821 <exception cref="T:System.ArgumentException">
2822 <paramref name="T" /> contains references or pointers.</exception>
2823 <exception cref="T:System.ArgumentOutOfRangeException">
2824 <paramref name="source" /> is smaller than <paramref name="T" />.</exception>
2825 <returns>The structure retrieved from the read-only span.</returns>
2827 <member name="M:System.Runtime.InteropServices.MemoryMarshal.ToEnumerable``1(System.ReadOnlyMemory{``0})">
2828 <summary>Creates an <see cref="T:System.Collections.Generic.IEnumerable`1" /> view of the given read-only memory buffer.</summary>
2829 <param name="memory">A read-only memory buffer.</param>
2830 <typeparam name="T">The type of the items in the read-only memory buffer.</typeparam>
2831 <returns>An enumerable view of <paramref name="memory" />.</returns>
2833 <member name="M:System.Runtime.InteropServices.MemoryMarshal.TryGetArray``1(System.ReadOnlyMemory{``0},System.ArraySegment{``0}@)">
2834 <summary>Tries to get an array segment from the underlying memory buffer. The return value indicates the success of the operation.</summary>
2835 <param name="memory">A read-only memory buffer.</param>
2836 <param name="segment">When this method returns, contains the array segment retrieved from the underlying read-only memory buffer. If the method fails, the method returns a default array segment.</param>
2837 <typeparam name="T">The type of items in the read-only memory buffer.</typeparam>
2839 <see langword="true" /> if the method call succeeds; <see langword="false" /> otherwise.</returns>
2841 <member name="M:System.Runtime.InteropServices.MemoryMarshal.TryGetMemoryManager``2(System.ReadOnlyMemory{``0},``1@)">
2842 <summary>Tries to retrieve a <see cref="T:System.Buffers.MemoryManager`1" /> from the underlying read-only memory buffer.</summary>
2843 <param name="memory">The read-only memory buffer for which to get the memory manager.</param>
2844 <param name="manager">When the method returns, the manager of <paramref name="memory" />.</param>
2845 <typeparam name="T">The type of the items in the read-only memory buffer.</typeparam>
2846 <typeparam name="TManager">The type of the <see cref="T:System.Buffers.MemoryManager`1" /> to retrieve.</typeparam>
2848 <see langword="true" /> if the method retrieved the memory manager; otherwise, <see langword="false" />.</returns>
2850 <member name="M:System.Runtime.InteropServices.MemoryMarshal.TryGetMemoryManager``2(System.ReadOnlyMemory{``0},``1@,System.Int32@,System.Int32@)">
2851 <summary>Tries to retrieve a <see cref="T:System.Buffers.MemoryManager`1" />, start index, and length from the underlying read-only memory buffer.</summary>
2852 <param name="memory">The read-only memory buffer for which to get the memory manager.</param>
2853 <param name="manager">When the method returns, the manager of <paramref name="memory" />.</param>
2854 <param name="start">When the method returns, the offset from the start of the <paramref name="manager" /> that the <paramref name="memory" /> represents.</param>
2855 <param name="length">When the method returns, the length of the <paramref name="manager" /> that the <paramref name="memory" /> represents.</param>
2856 <typeparam name="T">The type of the items in the read-only memory buffer.</typeparam>
2857 <typeparam name="TManager">The type of the <see cref="T:System.Buffers.MemoryManager`1" /> to retrieve.</typeparam>
2859 <see langword="true" /> if the method succeeded; otherwise, <see langword="false" />.</returns>
2861 <member name="M:System.Runtime.InteropServices.MemoryMarshal.TryGetString(System.ReadOnlyMemory{System.Char},System.String@,System.Int32@,System.Int32@)">
2862 <summary>Tries to get the underlying string from a <see langword="System.ReadOnlyMemory<Char>" />.</summary>
2863 <param name="memory">Read-only memory containing a block of characters.</param>
2864 <param name="text">When the method returns, the string contained in the memory buffer.</param>
2865 <param name="start">The starting location in <paramref name="text" />.</param>
2866 <param name="length">The number of characters in <paramref name="text" />.</param>
2868 <see langword="true" /> if the method successfully retrieves the underlying string; otherwise, <see langword="false" />.</returns>
2870 <member name="M:System.Runtime.InteropServices.MemoryMarshal.TryRead``1(System.ReadOnlySpan{System.Byte},``0@)">
2871 <summary>Tries to read a structure of type <paramref name="T" /> from a read-only span of bytes.</summary>
2872 <param name="source">A read-only span of bytes.</param>
2873 <param name="value">When the method returns, an instance of <paramref name="T" />.</param>
2874 <typeparam name="T">The type of the structure to retrieve.</typeparam>
2875 <exception cref="T:System.ArgumentException">
2876 <paramref name="T" /> contains references or pointers.</exception>
2878 <see langword="true" /> if the method succeeds in retrieving an instance of the structure; otherwise, <see langword="false" />.</returns>
2880 <member name="M:System.Runtime.InteropServices.MemoryMarshal.TryWrite``1(System.Span{System.Byte},``0@)">
2881 <summary>Tries to write a structure of type <paramref name="T" /> into a span of bytes.</summary>
2882 <param name="destination">The span of bytes to contain the structure.</param>
2883 <param name="value">The structure to be written to the span.</param>
2884 <typeparam name="T">The type of the structure.</typeparam>
2885 <exception cref="T:System.ArgumentException">
2886 <paramref name="T" /> contains references or pointers.</exception>
2888 <see langword="true" /> if the write operation succeeded; otherwise, <see langword="false" />. The method returns <see langword="false" /> if the span is too small to contain <paramref name="T" />.</returns>
2890 <member name="M:System.Runtime.InteropServices.MemoryMarshal.Write``1(System.Span{System.Byte},``0@)">
2891 <summary>Writes a structure of type <paramref name="T" /> into a span of bytes.</summary>
2892 <param name="destination">The span of bytes to contain the structure.</param>
2893 <param name="value">The structure to be written to the span.</param>
2894 <typeparam name="T">The type of the structure.</typeparam>
2895 <exception cref="T:System.ArgumentException">
2896 <paramref name="T" /> contains references or pointers.</exception>
2897 <exception cref="T:System.ArgumentOutOfRangeException">
2898 <paramref name="destination" /> is too small to contain <paramref name="value" />.</exception>
2900 <member name="T:System.Runtime.InteropServices.SequenceMarshal">
2901 <summary>Provides a collection of methods for interoperating with <see cref="T:System.Buffers.ReadOnlySequence`1" />.</summary>
2903 <member name="M:System.Runtime.InteropServices.SequenceMarshal.TryGetArray``1(System.Buffers.ReadOnlySequence{``0},System.ArraySegment{``0}@)">
2904 <summary>Gets an array segment from the underlying read-only sequence.</summary>
2905 <param name="sequence">The read-only sequence from which the array segment will be retrieved.</param>
2906 <param name="segment">The returned array segment.</param>
2907 <typeparam name="T">The type of the read-only sequence.</typeparam>
2909 <see langword="true" /> if it's possible to retrieve the array segment; otherwise, <see langword="false" /> and a default array segment is returned.</returns>
2911 <member name="M:System.Runtime.InteropServices.SequenceMarshal.TryGetReadOnlyMemory``1(System.Buffers.ReadOnlySequence{``0},System.ReadOnlyMemory{``0}@)">
2912 <summary>Attempts to retrieve a read-only memory from the specified read-only sequence.</summary>
2913 <param name="sequence">The read-only sequence from which the memory will be retrieved.</param>
2914 <param name="memory">The returned read-only memory of type T.</param>
2915 <typeparam name="T">The type of the read-only sequence.</typeparam>
2917 <see langword="true" /> if the read-only memory can be retrieved; otherwise, <see langword="false" />.</returns>
2919 <member name="M:System.Runtime.InteropServices.SequenceMarshal.TryGetReadOnlySequenceSegment``1(System.Buffers.ReadOnlySequence{``0},System.Buffers.ReadOnlySequenceSegment{``0}@,System.Int32@,System.Buffers.ReadOnlySequenceSegment{``0}@,System.Int32@)">
2920 <summary>Attempts to retrieve a read-only sequence segment from the specified read-only sequence.</summary>
2921 <param name="sequence">The read-only sequence from which the read-only sequence segment will be retrieved.</param>
2922 <param name="startSegment">The beginning read-only sequence segment.</param>
2923 <param name="startIndex">The initial position.</param>
2924 <param name="endSegment">The ending read-only sequence segment.</param>
2925 <param name="endIndex">The final position.</param>
2926 <typeparam name="T">The type of the read-only sequence.</typeparam>
2928 <see langword="true" /> if the read-only sequence segment can be retrieved; otherwise, <see langword="false" />.</returns>
2930 <member name="M:System.Runtime.InteropServices.SequenceMarshal.TryRead``1(System.Buffers.SequenceReader{System.Byte}@,``0@)">
2931 <summary>Attempts to read the specified type out of the buffer. It's dangerous to use this method with arbitrary structs - see remarks for more information.</summary>
2932 <param name="reader">A reference to the sequence reader.</param>
2933 <param name="value">The returned value if the read was successful. <paramref name="value" /> will be <see langword="default" /> if failed (due to lack of space).</param>
2934 <typeparam name="T">The type of the value.</typeparam>
2936 <see langword="true" /> if the read attempt was successful, <see langword="false" /> otherwise.</returns>
2938 <member name="T:System.SequencePosition">
2939 <summary>Represents a position in a non-contiguous set of memory. Properties of this type should not be interpreted by anything but the type that created it.</summary>
2941 <member name="M:System.SequencePosition.#ctor(System.Object,System.Int32)">
2942 <summary>Initializes a new instance of the <see cref="T:System.SequencePosition" /> struct.</summary>
2943 <param name="object">A non-contiguous set of memory.</param>
2944 <param name="integer">The position in <paramref name="object" />.</param>
2946 <member name="M:System.SequencePosition.Equals(System.Object)">
2947 <summary>Returns a value that indicates whether the current instance is equal to another object.</summary>
2948 <param name="obj">The object to compare with the current instance.</param>
2950 <see langword="true" /> if <paramref name="obj" /> is of type <see cref="T:System.SequencePosition" /> and is equal to the current instance; otherwise, <see langword="false" />.</returns>
2952 <member name="M:System.SequencePosition.Equals(System.SequencePosition)">
2953 <summary>Indicates whether the current instance is equal to another <see cref="T:System.SequencePosition" />.</summary>
2954 <param name="other">The sequence position to compare with the current instance.</param>
2956 <see langword="true" /> if the two instances are equal; <see langword="false" /> otherwise.</returns>
2958 <member name="M:System.SequencePosition.GetHashCode">
2959 <summary>Returns the hash code for this instance.</summary>
2960 <returns>The hash code for this instance.</returns>
2962 <member name="M:System.SequencePosition.GetInteger">
2963 <summary>Returns the integer part of this <see cref="T:System.SequencePosition" />.</summary>
2964 <returns>The integer part of this sequence position.</returns>
2966 <member name="M:System.SequencePosition.GetObject">
2967 <summary>Returns the object part of this <see cref="T:System.SequencePosition" />.</summary>
2968 <returns>The object part of this sequence position.</returns>
2970 <member name="T:System.Text.EncodingExtensions">
2971 <summary>Provides extension methods for the encoding types, such as <see cref="T:System.Text.Encoding" />, <see cref="T:System.Text.Encoder" />, and <see cref="T:System.Text.Decoder" />.</summary>
2973 <member name="M:System.Text.EncodingExtensions.Convert(System.Text.Decoder,System.Buffers.ReadOnlySequence{System.Byte}@,System.Buffers.IBufferWriter{System.Char},System.Boolean,System.Int64@,System.Boolean@)">
2974 <summary>Converts a <see cref="T:System.Buffers.ReadOnlySequence`1" /> to UTF-16 encoded characters and writes the result to <paramref name="writer" />.</summary>
2975 <param name="decoder">The decoder instance that can convert bytes to <see langword="char" /> values.</param>
2976 <param name="bytes">A sequence of bytes to decode.</param>
2977 <param name="writer">The buffer to which the decoded characters will be written.</param>
2978 <param name="flush">
2979 <see langword="true" /> to indicate no further data is to be converted; otherwise <see langword="false" />.</param>
2980 <param name="charsUsed">When this method returns, contains the count of characters that were written to <paramref name="writer" />.</param>
2981 <param name="completed">When this method returns, contains <see langword="true" /> if <paramref name="decoder" /> contains no partial internal state; otherwise, <see langword="false" />.
2982 If <paramref name="flush" /> is <see langword="true" />, this will always be set to <see langword="true" /> when the method returns.</param>
2983 <exception cref="T:System.Text.DecoderFallbackException">
2984 <paramref name="bytes" /> contains data that cannot be decoded and <paramref name="decoder" /> is configured to throw when such data is seen.</exception>
2986 <member name="M:System.Text.EncodingExtensions.Convert(System.Text.Decoder,System.ReadOnlySpan{System.Byte},System.Buffers.IBufferWriter{System.Char},System.Boolean,System.Int64@,System.Boolean@)">
2987 <summary>Converts a <see cref="T:System.ReadOnlySpan`1" /> to chars using <paramref name="decoder" /> and writes the result to <paramref name="writer" />.</summary>
2988 <param name="decoder">The decoder instance that can convert bytes to <see langword="char" /> values.</param>
2989 <param name="bytes">A sequence of bytes to decode.</param>
2990 <param name="writer">The buffer to which the decoded chars will be written.</param>
2991 <param name="flush">
2992 <see langword="true" /> to indicate no further data is to be converted; otherwise <see langword="false" />.</param>
2993 <param name="charsUsed">When this method returns, contains the count of <see langword="char" />s which were written to <paramref name="writer" />.</param>
2994 <param name="completed">When this method returns, contains <see langword="true" /> if <paramref name="decoder" /> contains no partial internal state; otherwise, <see langword="false" />.
2995 If <paramref name="flush" /> is <see langword="true" />, this will always be set to <see langword="true" /> when the method returns.</param>
2996 <exception cref="T:System.Text.DecoderFallbackException">
2997 <paramref name="bytes" /> contains data that cannot be encoded and <paramref name="decoder" /> is configured to throw when such data is seen.</exception>
2999 <member name="M:System.Text.EncodingExtensions.Convert(System.Text.Encoder,System.Buffers.ReadOnlySequence{System.Char}@,System.Buffers.IBufferWriter{System.Byte},System.Boolean,System.Int64@,System.Boolean@)">
3000 <summary>Converts a <see cref="T:System.Buffers.ReadOnlySequence`1" /> to encoded bytes and writes the result to <paramref name="writer" />.</summary>
3001 <param name="encoder">The encoder instance that can convert <see langword="char" /> values to bytes.</param>
3002 <param name="chars">A sequence of characters to encode.</param>
3003 <param name="writer">The buffer to which the encoded bytes will be written.</param>
3004 <param name="flush">
3005 <see langword="true" /> to indicate no further data is to be converted; otherwise <see langword="false" />.</param>
3006 <param name="bytesUsed">When this method returns, contains the count of <see langword="byte" />s which were written to <paramref name="writer" />.</param>
3007 <param name="completed">When this method returns, contains <see langword="true" /> if all input up until <paramref name="bytesUsed" /> was converted; otherwise, <see langword="false" />. If <paramref name="flush" /> is <see langword="true" />, this will always be set to <see langword="true" /> when the method returns.</param>
3008 <exception cref="T:System.Text.EncoderFallbackException">
3009 <paramref name="chars" /> contains data that cannot be encoded and <paramref name="encoder" /> is configured to throw when such data is seen.</exception>
3011 <member name="M:System.Text.EncodingExtensions.Convert(System.Text.Encoder,System.ReadOnlySpan{System.Char},System.Buffers.IBufferWriter{System.Byte},System.Boolean,System.Int64@,System.Boolean@)">
3012 <summary>Converts a <see cref="T:System.ReadOnlySpan`1" /> to bytes using <paramref name="encoder" /> and writes the result to <paramref name="writer" />.</summary>
3013 <param name="encoder">The encoder instance that can convert <see langword="char" /> values to bytes.</param>
3014 <param name="chars">A sequence of characters to encode.</param>
3015 <param name="writer">The buffer to which the encoded bytes will be written.</param>
3016 <param name="flush">
3017 <see langword="true" /> to indicate no further data is to be converted; otherwise <see langword="false" />.</param>
3018 <param name="bytesUsed">When this method returns, contains the count of <see langword="byte" />s which were written to <paramref name="writer" />.</param>
3019 <param name="completed">When this method returns, contains <see langword="true" /> if <paramref name="encoder" /> contains no partial internal state; otherwise, <see langword="false" />.
3020 If <paramref name="flush" /> is <see langword="true" />, this will always be set to <see langword="true" /> when the method returns.</param>
3021 <exception cref="T:System.Text.EncoderFallbackException">
3022 <paramref name="chars" /> contains data that cannot be encoded and <paramref name="encoder" /> is configured to throw when such data is seen.</exception>
3024 <member name="M:System.Text.EncodingExtensions.GetBytes(System.Text.Encoding,System.Buffers.ReadOnlySequence{System.Char}@)">
3025 <summary>Encodes the specified <see cref="T:System.Buffers.ReadOnlySequence`1" /> into a <see cref="T:System.Byte" /> array using the specified <see cref="T:System.Text.Encoding" />.</summary>
3026 <param name="encoding">The encoding that represents how the data in <paramref name="chars" /> should be encoded.</param>
3027 <param name="chars">The sequence to encode to bytes.</param>
3028 <exception cref="T:System.Text.EncoderFallbackException">
3029 <paramref name="chars" /> contains data that cannot be encoded and <paramref name="encoding" /> is configured to throw when such data is seen.</exception>
3030 <returns>A <see cref="T:System.Byte" /> array that represents the encoded contents of <paramref name="chars" />.</returns>
3032 <member name="M:System.Text.EncodingExtensions.GetBytes(System.Text.Encoding,System.Buffers.ReadOnlySequence{System.Char}@,System.Buffers.IBufferWriter{System.Byte})">
3033 <summary>Decodes the specified <see cref="T:System.Buffers.ReadOnlySequence`1" /> to <see langword="byte" />s using the specified <see cref="T:System.Text.Encoding" /> and writes the result to <paramref name="writer" />.</summary>
3034 <param name="encoding">The encoding that represents how the data in <paramref name="chars" /> should be encoded.</param>
3035 <param name="chars">The <see cref="T:System.Buffers.ReadOnlySequence`1" /> whose contents should be encoded.</param>
3036 <param name="writer">The buffer to which the encoded bytes will be written.</param>
3037 <exception cref="T:System.Text.EncoderFallbackException">
3038 <paramref name="chars" /> contains data that cannot be encoded and <paramref name="encoding" /> is configured to throw when such data is seen.</exception>
3039 <returns>The number of bytes written to <paramref name="writer" />.</returns>
3041 <member name="M:System.Text.EncodingExtensions.GetBytes(System.Text.Encoding,System.Buffers.ReadOnlySequence{System.Char}@,System.Span{System.Byte})">
3042 <summary>Encodes the specified <see cref="T:System.Buffers.ReadOnlySequence`1" /> to <see langword="byte" />s using the specified <see cref="T:System.Text.Encoding" /> and outputs the result to <paramref name="bytes" />.</summary>
3043 <param name="encoding">The encoding that represents how the data in <paramref name="chars" /> should be encoded.</param>
3044 <param name="chars">The sequence to encode to bytes.</param>
3045 <param name="bytes">The destination buffer to which the encoded bytes will be written.</param>
3046 <exception cref="T:System.ArgumentException">
3047 <paramref name="bytes" /> is not large enough to contain the encoded form of <paramref name="chars" />.</exception>
3048 <exception cref="T:System.Text.EncoderFallbackException">
3049 <paramref name="chars" /> contains data that cannot be encoded and <paramref name="encoding" /> is configured to throw when such data is seen.</exception>
3050 <returns>The number of bytes written to <paramref name="bytes" />.</returns>
3052 <member name="M:System.Text.EncodingExtensions.GetBytes(System.Text.Encoding,System.ReadOnlySpan{System.Char},System.Buffers.IBufferWriter{System.Byte})">
3053 <summary>Encodes the specified <see cref="T:System.ReadOnlySpan`1" /> to <see langword="byte" />s using the specified <see cref="T:System.Text.Encoding" /> and writes the result to <paramref name="writer" />.</summary>
3054 <param name="encoding">The encoding that represents how the data in <paramref name="chars" /> should be encoded.</param>
3055 <param name="chars">The sequence to encode to bytes.</param>
3056 <param name="writer">The buffer to which the encoded bytes will be written.</param>
3057 <exception cref="T:System.Text.EncoderFallbackException">
3058 <paramref name="chars" /> contains data that cannot be encoded and <paramref name="encoding" /> is configured to throw when such data is seen.</exception>
3059 <returns>The number of bytes written to <paramref name="writer" />.</returns>
3061 <member name="M:System.Text.EncodingExtensions.GetChars(System.Text.Encoding,System.Buffers.ReadOnlySequence{System.Byte}@,System.Buffers.IBufferWriter{System.Char})">
3062 <summary>Decodes the specified <see cref="T:System.Buffers.ReadOnlySequence`1" /> to <see langword="char" />s using the specified <see cref="T:System.Text.Encoding" /> and writes the result to <paramref name="writer" />.</summary>
3063 <param name="encoding">The encoding that represents how the data in <paramref name="bytes" /> should be decoded.</param>
3064 <param name="bytes">The sequence whose bytes should be decoded.</param>
3065 <param name="writer">The buffer to which the decoded chars will be written.</param>
3066 <exception cref="T:System.Text.DecoderFallbackException">
3067 <paramref name="bytes" /> contains data that cannot be decoded and <paramref name="encoding" /> is configured to throw when such data is seen.</exception>
3068 <returns>The number of chars written to <paramref name="writer" />.</returns>
3070 <member name="M:System.Text.EncodingExtensions.GetChars(System.Text.Encoding,System.Buffers.ReadOnlySequence{System.Byte}@,System.Span{System.Char})">
3071 <summary>Decodes the specified <see cref="T:System.Buffers.ReadOnlySequence`1" /> to <see langword="char" />s using the specified <see cref="T:System.Text.Encoding" /> and outputs the result to <paramref name="chars" />.</summary>
3072 <param name="encoding">The encoding that represents how the data in <paramref name="bytes" /> is encoded.</param>
3073 <param name="bytes">The sequence to decode to characters.</param>
3074 <param name="chars">The destination buffer to which the decoded characters will be written.</param>
3075 <exception cref="T:System.ArgumentException">
3076 <paramref name="chars" /> is not large enough to contain the encoded form of <paramref name="bytes" />.</exception>
3077 <exception cref="T:System.Text.DecoderFallbackException">
3078 <paramref name="bytes" /> contains data that cannot be decoded and <paramref name="encoding" /> is configured to throw when such data is seen.</exception>
3079 <returns>The number of chars written to <paramref name="chars" />.</returns>
3081 <member name="M:System.Text.EncodingExtensions.GetChars(System.Text.Encoding,System.ReadOnlySpan{System.Byte},System.Buffers.IBufferWriter{System.Char})">
3082 <summary>Decodes the specified <see cref="T:System.ReadOnlySpan`1" /> to <see langword="char" />s using the specified <see cref="T:System.Text.Encoding" /> and writes the result to <paramref name="writer" />.</summary>
3083 <param name="encoding">The encoding that represents how the data in <paramref name="bytes" /> should be decoded.</param>
3084 <param name="bytes">The span of bytes to decode.</param>
3085 <param name="writer">The buffer to which the decoded chars will be written.</param>
3086 <exception cref="T:System.Text.DecoderFallbackException">
3087 <paramref name="bytes" /> contains data that cannot be decoded and <paramref name="encoding" /> is configured to throw when such data is seen.</exception>
3088 <returns>The number of chars written to <paramref name="writer" />.</returns>
3090 <member name="M:System.Text.EncodingExtensions.GetString(System.Text.Encoding,System.Buffers.ReadOnlySequence{System.Byte}@)">
3091 <summary>Decodes the specified <see cref="T:System.Buffers.ReadOnlySequence`1" /> into a <see cref="T:System.String" /> using the specified <see cref="T:System.Text.Encoding" />.</summary>
3092 <param name="encoding">The encoding that represents how the data in <paramref name="bytes" /> is encoded.</param>
3093 <param name="bytes">The sequence to decode into characters.</param>
3094 <exception cref="T:System.Text.DecoderFallbackException">
3095 <paramref name="bytes" /> contains data that cannot be decoded and <paramref name="encoding" /> is configured to throw when such data is seen.</exception>
3096 <returns>A <see cref="T:System.String" /> which represents the decoded contents of <paramref name="bytes" />.</returns>
3098 <member name="T:System.Text.SpanLineEnumerator">
3099 <summary>Enumerates the lines of a <see cref="T:System.ReadOnlySpan`1" />.</summary>
3101 <member name="M:System.Text.SpanLineEnumerator.GetEnumerator">
3102 <summary>Returns this instance as an enumerator.</summary>
3103 <returns>This instance as an enumerator.</returns>
3105 <member name="M:System.Text.SpanLineEnumerator.MoveNext">
3106 <summary>Advances the enumerator to the next line of the span.</summary>
3108 <see langword="true" /> if the enumerator successfully advanced to the next line; <see langword="false" /> if the enumerator has advanced past the end of the span.</returns>
3110 <member name="P:System.Text.SpanLineEnumerator.Current">
3111 <summary>Gets the line at the current position of the enumerator.</summary>
3112 <returns>The line at the current position of the enumerator.</returns>
3114 <member name="T:System.Text.SpanRuneEnumerator">
3115 <summary>Provides an enumerator for the <see cref="T:System.Text.Rune" /> values represented by a span containing UTF-16 text.</summary>
3117 <member name="M:System.Text.SpanRuneEnumerator.GetEnumerator">
3118 <summary>Returns the current enumerator instance.</summary>
3119 <returns>The current enumerator instance.</returns>
3121 <member name="M:System.Text.SpanRuneEnumerator.MoveNext">
3122 <summary>Advances the enumerator to the next <see cref="T:System.Text.Rune" /> of the span.</summary>
3124 <see langword="true" /> if the enumerator successfully advanced to the next item; <see langword="false" /> if the end of the span has been reached.</returns>
3126 <member name="P:System.Text.SpanRuneEnumerator.Current">
3127 <summary>Gets the <see cref="T:System.Text.Rune" /> at the current position of the enumerator.</summary>
3128 <returns>The <see cref="T:System.Text.Rune" /> at the current position of the enumerator.</returns>