Describe the bug
Negative byte length in "From Binary" operation
To Reproduce
Steps to reproduce:
Expected behaviour
Problem in the src/core/lib/Binary.mjs. Loop iterator goes to wrong value, that causes wrong substring extraction
Screenshots


Desktop (if relevant, please complete the following information):
Thanks for raising this. I've fixed it both by preventing the user from entering a value lower than 1, and by adding a check in the function that throws an exception if the value is invalid. I also found a couple of other places that had the same issue so I've fixed them as well.
Most helpful comment
Thanks for raising this. I've fixed it both by preventing the user from entering a value lower than
1, and by adding a check in the function that throws an exception if the value is invalid. I also found a couple of other places that had the same issue so I've fixed them as well.