-
Notifications
You must be signed in to change notification settings - Fork 573
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
In situ parsing #318
Comments
I can imagine doing something clever to represent maps, but that might be going a bit too far. |
What would happen to the end of the string here? Because the result is shorter than the actual buffer. Would the input itself have any guarantees? |
There are no guarantees around what modification is made to the input string. In the example above, |
Oh, I see. I missed the single |
This would be pretty cool. Does anyone have an implementation of this in-place (and no_std) unescaping? I can't find one, but maybe my google-fu just isn't good enough. EDIT: Got a prototype working. This was much easier than I thought, just needed some time to think on it. |
Strings with escape sequences are decoded in place!
The text was updated successfully, but these errors were encountered: