Closed avsa242 closed 6 months ago
After looking at it closer, This isn't strictly true. The repeat loop is only entered if the number of bytes (which is initialized to the length) is > 0
. The only other code executed before that are other initial checks.
It shouldn't waste time doing anything if it was called with write length 0 (without having reviewed the code in detail - maybe doing so could even cause problems).