Skip to content

What is the idiomatic way to split a BStr by the null character \0? #199

Answered by BurntSushi
kevinli1993 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes. That's idiomatic. I'm not aware of a reason why there should be a separate API for a single byte.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kevinli1993
Comment options

Answer selected by kevinli1993
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants