cwalk icon indicating copy to clipboard operation
cwalk copied to clipboard

Possibility of sized variants of functions?

Open Qix- opened this issue 3 years ago • 1 comments

Hey there. Is there a possibility of function variants that take the input string's length as a parameter instead of relying on them being null-terminated?

I have an application that makes heavy use of path manipulation and all of the string sizes are known beforehand. Further, not all places where this will be needed will have null terminators, so I'd rather avoid a copy in such cases.

Just curious :)

Qix- avatar Aug 04 '20 19:08 Qix-

Hi @Qix- , I'm afraid it currently only supports null terminated strings. But that's a valid concern, I will think about this and get back to you next week!

likle avatar Aug 04 '20 23:08 likle