Closed Falco20019 closed 3 years ago
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.
Length
Position
MemoryBuffer
ApacheThrift
SetLength
Which problem is this PR solving?
Short description of the changes
Setting
Length
directly will not resetPosition
and therefore lead to an ever growingMemoryBuffer
. This was introduced as an oversight by changing to the implementation ofApacheThrift
.SetLength
does what was expected.