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

Add support for operating on byte strings #15

Merged
merged 2 commits into from
Sep 5, 2023
Merged

Add support for operating on byte strings #15

merged 2 commits into from
Sep 5, 2023

Commits on Sep 4, 2023

  1. Add support for operating on byte strings

    This adds a `bytes` submodule for operating on byte strings that might
    contain invalid UTF-8. Where possible I have switched the functions that
    operate on `str` to use the `bytes` functions internally to avoid
    duplicating code and eliminate the potential for differing behavior
    between the two functions.
    
    It includes trivial tests that confirm that the `bytes` version of
    functions actually work on invalid UTF-8.
    
    Fixes #12
    danielparks committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    879d212 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c786d4 View commit details
    Browse the repository at this point in the history