fdaef4427a
* .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
17 lines
533 B
Markdown
17 lines
533 B
Markdown
# System.Buffers
|
|
|
|
``` diff
|
|
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);
|
|
}
|
|
}
|
|
```
|
|
|