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

Add Utf8Chunk::incomplete(). #68

Closed
wants to merge 1 commit into from

Conversation

m-ou-se
Copy link
Contributor

@m-ou-se m-ou-se commented Jul 26, 2020

This makes .utf8_chunks() usable for incrementally processed streams.

@m-ou-se m-ou-se force-pushed the utf8-chunk-incomplete branch from e60a72c to 341e90e Compare July 26, 2020 14:36
BurntSushi pushed a commit that referenced this pull request Oct 18, 2020
This makes it possible to easily tell whether a particular chunk either
contains invalid UTF-8 or possibly contains a prefix of valid UTF-8.
This is useful in the context of processing streams.

Closes #68
@m-ou-se m-ou-se deleted the utf8-chunk-incomplete branch October 18, 2020 16:21
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

Successfully merging this pull request may close these issues.

1 participant