201 num = await readTask.
ConfigureAwait(continueOnCapturedContext:
false);
256 if (disposing &&
_stream !=
null)
262 protected override void Dispose(
bool disposing)
272 if (disposing &&
_stream !=
null)
override Task FlushAsync(CancellationToken cancellationToken)
InflaterManaged _inflater
override ValueTask< int > ReadAsync(Memory< byte > buffer, CancellationToken cancellationToken=default(CancellationToken))
override int Read(Span< byte > buffer)
override void SetLength(long value)
void PurgeBuffers(bool disposing)
override int Read(byte[] buffer, int offset, int count)
override void Write(byte[] buffer, int offset, int count)
override void Dispose(bool disposing)
DeflateManagedStream(Stream stream, ZipArchiveEntry.CompressionMethodValues method, long uncompressedSize=-1L)
override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState)
ValueTask< int > ReadAsyncInternal(Memory< byte > buffer, CancellationToken cancellationToken)
async ValueTask< int > ReadAsyncCore(ValueTask< int > readTask, Memory< byte > buffer, CancellationToken cancellationToken)
override long Seek(long offset, SeekOrigin origin)
override Task< int > ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
override int EndRead(IAsyncResult asyncResult)
static void ThrowStreamClosedException()
int Inflate(Span< byte > bytes)
void SetInput(byte[] inputBytes, int offset, int length)
static void ValidateBufferArguments(byte[] buffer, int offset, int count)
int Read(byte[] buffer, int offset, int count)
Task< int > ReadAsync(byte[] buffer, int offset, int count)
static string ObjectDisposed_StreamClosed
static string GenericInvalidData
static string NotSupported_UnreadableStream
static string InvalidBeginCall
static string CannotWriteToDeflateStream
static string NotSupported
static int Decrement(ref int location)
static int Increment(ref int location)
static IAsyncResult Begin(Task task, AsyncCallback callback, object state)
static void End(IAsyncResult asyncResult)
static Task FromCanceled(CancellationToken cancellationToken)
static Task CompletedTask
static CancellationToken None
static ValueTask FromCanceled(CancellationToken cancellationToken)
ConfiguredValueTaskAwaitable ConfigureAwait(bool continueOnCapturedContext)