Skip to content

Feature request: extract_ functions as a trait, implement for native integer types #115

Description

@amari-ca

Add a trait arbitrary_int::Extract with all the extract functions implemented for both arbitrary_int types and for Rust native integer types. That way we can call for example u8::extract_u32(x, y) in the same way as u7::extract_u32(x, y).

Happy to help implement this if it makes sense for the library.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions