17 references to Sequence
Microsoft.AspNetCore.Components.Server (17)
src\aspnetcore\src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\MessagePackReader.cs (5)
81
public ReadOnlySequence<byte> Sequence => this.reader.
Sequence
;
326
ReadOnlySequence<byte> result = this.reader.
Sequence
.Slice(this.reader.Position, length);
732
ReadOnlySequence<byte> result = this.reader.
Sequence
.Slice(this.reader.Position, length);
757
ReadOnlySequence<byte> result = this.reader.
Sequence
.Slice(this.reader.Position, length);
967
ReadOnlySequence<byte> data = this.reader.
Sequence
.Slice(this.reader.Position, header.Length);
src\aspnetcore\src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\SequenceReader.cs (12)
101
/// Gets a value indicating whether there is no more data in the <see cref="
Sequence
"/>.
126
/// Gets the current position in the <see cref="
Sequence
"/>.
129
=> this.
Sequence
.GetPosition(this.CurrentSpanIndex, this.currentPosition);
132
/// Gets the current segment in the <see cref="
Sequence
"/> as a span.
156
/// Gets remaining <typeparamref name="T"/>'s in the reader's <see cref="
Sequence
"/>.
161
/// Gets count of <typeparamref name="T"/> in the reader's <see cref="
Sequence
"/>.
171
this.length = this.
Sequence
.Length;
273
this.currentPosition = this.
Sequence
.Start;
276
if (this.
Sequence
.TryGet(ref this.nextPosition, out ReadOnlyMemory<T> memory, advance: true))
306
if (!this.
Sequence
.IsSingleSegment)
309
while (this.
Sequence
.TryGet(ref this.nextPosition, out ReadOnlyMemory<T> memory, advance: true))
479
while (this.
Sequence
.TryGet(ref next, out ReadOnlyMemory<T> nextSegment, true))