-
Notifications
You must be signed in to change notification settings - Fork 3
Add hex decode function with const char* #28
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 hex decode function with const char* #28
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #28 +/- ##
=======================================
Coverage 29.85% 29.85%
=======================================
Files 27 27
Lines 1819 1819
=======================================
Hits 543 543
Misses 1276 1276 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Memory usage change @ 4094490
Click for full report table
Click for full report CSV
|
src/hex/hex.cpp
Outdated
byteNumber = chex_decode(out, size, in, strlen(in)); | ||
return byteNumber * 2 == strlen(in); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
byteNumber = chex_decode(out, size, in, strlen(in)); | |
return byteNumber * 2 == strlen(in); | |
size_t len = strlen(in); | |
byteNumber = chex_decode(out, size, in, len); | |
return byteNumber * 2 == len; |
Memory usage change @ 7524cb6
Click for full report table
Click for full report CSV
|
No description provided.