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

Refactor hex decoding utilities #648

Merged
merged 2 commits into from
Jun 2, 2022
Merged

Refactor hex decoding utilities #648

merged 2 commits into from
Jun 2, 2022

Commits on Jun 1, 2022

  1. hex: Take from_hex() input as iterator pair

    Generalize the core from_hex() to take the input as pair in input
    iterators. The optional 0x prefix is still omitted but the "skip space"
    feature has been dropped.
    chfast committed Jun 1, 2022
    Configuration menu
    Copy the full SHA
    9a604de View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2022

  1. tools: Add filter_iterator utility

    This adds the filter_iterator input iterator adapter to filter input
    values. With the additional is_not_space predicate these restores
    the option to filter-out whitespace before parsing hex.
    This is useful e.g. when loading hex from a file.
    chfast committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    ebd8622 View commit details
    Browse the repository at this point in the history