jaegertracing / jaeger-client-csharp

🛑 This library is DEPRECATED!
https://jaegertracing.io/
Apache License 2.0
302 stars 67 forks source link

Use SetLength to reset Position #217

Closed Falco20019 closed 3 years ago

Falco20019 commented 3 years ago

Which problem is this PR solving?

Short description of the changes

Setting Length directly will not reset Position and therefore lead to an ever growing MemoryBuffer. This was introduced as an oversight by changing to the implementation of ApacheThrift. SetLength does what was expected.