BufferSegment Handle Memory Set/Reset better (dotnet/corefx#35256)
authorBen Adams <thundercat@illyriad.co.uk>
Tue, 12 Feb 2019 17:54:39 +0000 (17:54 +0000)
committerPavel Krymets <pavel@krymets.com>
Tue, 12 Feb 2019 17:54:39 +0000 (09:54 -0800)
commit38cfa2c0d8400e88af781865e78b511fe2724cda
tree2362bd0c8a9537f9c2f7680776b2f966a6e41fbe
parent935dd44ad3a5bfdeefe74104e38e3df947447b45
BufferSegment Handle Memory Set/Reset better (dotnet/corefx#35256)

Commit migrated from https://github.com/dotnet/corefx/commit/838291cf1444e3a383dc296ab9190a3c0b642523
src/libraries/System.IO.Pipelines/src/System/IO/Pipelines/BufferSegment.cs
src/libraries/System.IO.Pipelines/src/System/IO/Pipelines/Pipe.cs