Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility of sized variants of functions? #9

Open
Qix- opened this issue Aug 4, 2020 · 1 comment
Open

Possibility of sized variants of functions? #9

Qix- opened this issue Aug 4, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Qix-
Copy link

Qix- commented Aug 4, 2020

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 :)

@likle
Copy link
Owner

likle commented Aug 4, 2020

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants