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

Use Ruby string to handle null bytes #10

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Use Ruby string to handle null bytes #10

merged 1 commit into from
Mar 19, 2024

Conversation

krystof-k
Copy link
Member

@krystof-k krystof-k commented Mar 19, 2024

This should fix the ArgumentError: string contains null byte exception when the string contains null byte, for example when using UTF-16LE encoding.

@krystof-k krystof-k added the bug Something isn't working label Mar 19, 2024
@krystof-k krystof-k self-assigned this Mar 19, 2024
@krystof-k krystof-k merged commit 49efbd4 into main Mar 19, 2024
20 checks passed
@krystof-k krystof-k deleted the handle-null-bytes branch March 19, 2024 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant