17 references to Sequence
Microsoft.AspNetCore.Components.Server (17)
src\aspnetcore\src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\MessagePackReader.cs (5)
81public ReadOnlySequence<byte> Sequence => this.reader.Sequence; 326ReadOnlySequence<byte> result = this.reader.Sequence.Slice(this.reader.Position, length); 732ReadOnlySequence<byte> result = this.reader.Sequence.Slice(this.reader.Position, length); 757ReadOnlySequence<byte> result = this.reader.Sequence.Slice(this.reader.Position, length); 967ReadOnlySequence<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"/>. 171this.length = this.Sequence.Length; 273this.currentPosition = this.Sequence.Start; 276if (this.Sequence.TryGet(ref this.nextPosition, out ReadOnlyMemory<T> memory, advance: true)) 306if (!this.Sequence.IsSingleSegment) 309while (this.Sequence.TryGet(ref this.nextPosition, out ReadOnlyMemory<T> memory, advance: true)) 479while (this.Sequence.TryGet(ref next, out ReadOnlyMemory<T> nextSegment, true))