Simplify ManagedWebSocket.ApplyMask (#87331)
authorStephen Toub <stoub@microsoft.com>
Sat, 10 Jun 2023 11:38:35 +0000 (07:38 -0400)
committerGitHub <noreply@github.com>
Sat, 10 Jun 2023 11:38:35 +0000 (07:38 -0400)
commitdca08659e81b2d0bc840e78461c25e428eb97c2e
treeb806108027c5d5709a09018c7e68be2864f58cd4
parent224927519c43aeb044d8856f0f1fe061d4e986a6
Simplify ManagedWebSocket.ApplyMask (#87331)

The alignment code isn't necessary or implemented ideally and can make shorter lengths slower to process.  Deleting it for now, and if we decide it's valuable to add back forced-alignment later, we can do so in a more optimal manner.
src/libraries/System.Net.WebSockets/src/System/Net/WebSockets/ManagedWebSocket.cs