Skip to content

lib: unify conversions to/from hex #16888

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

Closed
wants to merge 2 commits into from
Closed

lib: unify conversions to/from hex #16888

wants to merge 2 commits into from

Conversation

bagder
Copy link
Member

@bagder bagder commented Mar 31, 2025

Curl_hexbyte - output a byte as a two-digit ASCII hex number

Curl_hexval - convert an ASCII hex digit to its binary value

... instead of duplicating similar code and hexdigit strings in numerous places.

@testclutch

This comment was marked as outdated.

bagder added 2 commits April 1, 2025 07:54
Curl_hexbyte - output a byte as a two-digit ASCII hex number

Curl_hexval - convert an ASCII hex digit to its binary value

... instead of duplicating similar code and hexdigit strings in numerous
places.

Closes #16888
Since it now uses hex conversion code from strparse as well.

Closes #16888
@bagder bagder force-pushed the bagder/hex-cleanup branch from f1c7e8d to 14a0a9f Compare April 1, 2025 05:54
@bagder bagder closed this in 0c6e63a Apr 2, 2025
bagder added a commit that referenced this pull request Apr 2, 2025
Since it now uses hex conversion code from strparse as well.

Closes #16888
@bagder bagder deleted the bagder/hex-cleanup branch April 2, 2025 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants