On Mon Nov 6 15:35:43 2023 +0000, Piotr Caban wrote:
This comment was incorrect. The function takes position of character, not length. The code was good (it can be probably improved by changing argument name), sorry about that.
Argument name is according to MS documentation: https://learn.microsoft.com/pl-pl/cpp/c-runtime-library/reference/mbsbtype-m...
I have covered this function with additional test to cover that scenario.