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

Shift codepoint indices when trimming data from front #60

Commits on Feb 8, 2024

  1. Shift codepoint indices when trimming data from front

    These codepoint indices are now invalid when trimming data from the
    front of the string. Shift these left to match the new byte offsets
    after trim.
    
    Fixes potential panic or invalid data when using UTF-8 encoded strings
    with nested struct members.
    sidkurella committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    04ea757 View commit details
    Browse the repository at this point in the history