dotnet-core/release-notes/5.0/api-diff/netstandard2.1/5.0_System.Buffers.md
Anirudh Agnihotry fdaef4427a
Api diff between net5.0 and netcoreapp3.1 & netstandard2.1 (#5610)
* .net shared framework changes

* standalone net 5.0 packages

* netstanard2.1 diff

* improving the directory structure

* adding a readme file

* aspnetcore shared framework changes

* remove wrong process type change diff

* adding comments about apis being to inbox from package
2020-11-18 10:40:01 -08:00

533 B

System.Buffers

 namespace System.Buffers {
     public readonly struct ReadOnlySequence<T> {
+        public long GetOffset(SequencePosition position);
     }
     public ref struct SequenceReader<T> where T : struct, IEquatable<T> {
+        public ReadOnlySequence<T> UnreadSequence { get; }
+        public void AdvanceToEnd();
+        public bool TryPeek(long offset, out T value);
+        public bool TryReadTo(out ReadOnlySpan<T> span, ReadOnlySpan<T> delimiter, bool advancePastDelimiter = true);
     }
 }