You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: src/System.Memory/ref/System.Memory.cs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -219,8 +219,8 @@ namespace System.Buffers
219
219
public partial interface IBufferWriter<T>
220
220
{
221
221
voidAdvance(intcount);
222
-
System.Memory<byte>GetMemory(intminimumLength=0);
223
-
System.Span<byte>GetSpan(intminimumLength=0);
222
+
System.Memory<T>GetMemory(intminimumLength=0);
223
+
System.Span<T>GetSpan(intminimumLength=0);
224
224
intMaxBufferSize{get;}
225
225
}
226
226
public partial interfaceIMemoryList<T>
@@ -280,7 +280,7 @@ public static partial class BuffersExtensions
280
280
public staticvoidCopyTo<T>(thisSystem.Buffers.ReadOnlySequence<T>sequence,System.Span<T>destination){}
281
281
public staticSystem.Nullable<System.SequencePosition>PositionOf<T>(thisSystem.Buffers.ReadOnlySequence<T>sequence,Tvalue)whereT:System.IEquatable<T>{thrownull;}
282
282
public staticT[]ToArray<T>(thisSystem.Buffers.ReadOnlySequence<T>sequence){thrownull;}
283
-
public staticvoidWrite<T>(thisSystem.Buffers.IBufferWriter<T>bufferWriter,ReadOnlySpan<byte>source){}
283
+
public staticvoidWrite<T>(thisSystem.Buffers.IBufferWriter<T>bufferWriter,ReadOnlySpan<T>source){}
0 commit comments