Skip to content

Conversation

seanrohead
Copy link
Contributor

Pass the size of the byte array instead of the length of the string because the length of the byte array can sometimes be 2x the length of the string, depending on which character encoding the string is stored with.

seanrohead and others added 2 commits March 19, 2021 16:51
… the length of the string because the length of the byte array can sometimes be 2x the length of the string, depending on which character encoding the string is stored with.
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