Skip to content

Add helper to temporarily switch endianness #143

Description

@Schamper

Sometimes we have to dynamically switch endianness for the lifetime of a parser (not the lifetime of the global cstruct instance). It would be nice to easily have the ability to switch the endianness for either a single struct parsing or of a "shallow" clone of the cstruct instance.

Maybe #140 is already "easy enough", unsure. Open to suggestions.

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions