Implement Read and WriteAsyncMemory in Mono DeflateStream
commit7c4c30ec002c48ef97d9a36991bedec757b94264
authorSteve Pfister <steveisok@users.noreply.github.com>
Wed, 28 Aug 2019 20:20:09 +0000 (28 16:20 -0400)
committerGitHub <noreply@github.com>
Wed, 28 Aug 2019 20:20:09 +0000 (28 16:20 -0400)
tree8acfc075b9a0a9b7409d0d0db1a93ea2270f313a
parentc4695b8b4440e0f80c4768379fa24ba78ebff9d2
Implement Read and WriteAsyncMemory in Mono DeflateStream

Resolves https://github.com/mono/mono/issues/16122

Since we put in the corefx version of GZipStream, it is expected that
our version of DeflateStream actually implements Write+ReadAsyncMemory.

This change does that by just calling the plain WriteAsync & ReadAsync
methods until we decide (or not) to pull in the corefx DeflateStream.
mcs/class/System/System.IO.Compression/DeflateStream.cs