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

Feature Request getString() #155

Open
sstaub opened this issue Oct 22, 2024 · 2 comments
Open

Feature Request getString() #155

sstaub opened this issue Oct 22, 2024 · 2 comments

Comments

@sstaub
Copy link
Contributor

sstaub commented Oct 22, 2024

A const char* getString(int position) function will helpful, this allows to pass without copying the buffer data.

@adrianfreed
Copy link
Member

I will look at a PR. I assume you don't want to know the length of the string and can handle its temporary status?

@sstaub
Copy link
Contributor Author

sstaub commented Dec 2, 2024

Yes, I know about the problem. I use buffers with a fixed length when I know the maximum length of the incoming data.

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

No branches or pull requests

2 participants