Use a pooled buffer in BrotliStream (dotnet/corefx#35492)
authorStephen Toub <stoub@microsoft.com>
Fri, 22 Feb 2019 03:16:04 +0000 (22:16 -0500)
committerGitHub <noreply@github.com>
Fri, 22 Feb 2019 03:16:04 +0000 (22:16 -0500)
commit08792f7fa6eb750ae6ece78c027af5116a5b515f
tree8b270dc383208a1a51c9ae02f911f110c902fbe2
parent08bef09b9bec8eba4866065576db00800639cf68
Use a pooled buffer in BrotliStream (dotnet/corefx#35492)

* Use a pooled buffer in BrotliStream

* Address PR feedback

Commit migrated from https://github.com/dotnet/corefx/commit/bca44089343cf14cffd3cb0982b7e209692f6731
src/libraries/Common/tests/System/IO/Compression/CompressionStreamUnitTestBase.cs
src/libraries/System.IO.Compression.Brotli/src/System/IO/Compression/BrotliStream.cs
src/libraries/System.IO.Compression.Brotli/tests/CompressionStreamUnitTests.Brotli.cs