We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9e547d commit 8508463Copy full SHA for 8508463
1 file changed
src/Shared/PooledByteArray.cs
@@ -34,6 +34,7 @@ public void Resize(int length)
34
var newBytes = _pool.Rent(length);
35
Buffer.BlockCopy(_bytes, 0, newBytes, 0, _bytes.Length);
36
_pool.Return(_bytes);
37
+ _bytes = newBytes;
38
}
39
40
public byte[] ToUnpooledArray(int length)
0 commit comments