<PackageReference Include="System.Text.Json" Version="10.0.0-preview.7.25380.108" />

System.Text.Json.Serialization.PipeReadBufferState

namespace System.Text.Json.Serialization { internal struct PipeReadBufferState : IReadBufferState<PipeReadBufferState, PipeReader>, IDisposable { public bool IsFinalBlock { get; } public ReadOnlySequence<byte> Bytes { get; } public PipeReadBufferState(PipeReader utf8Json); public void Advance(long bytesConsumed); public ValueTask<PipeReadBufferState> ReadAsync(PipeReader utf8Json, CancellationToken cancellationToken, bool fillBuffer = true); public void Read(PipeReader utf8Json); public void Dispose(); } }