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 HexAttribute #283

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add HexAttribute #283

wants to merge 3 commits into from

Commits on Nov 16, 2021

  1. Adds HexAttribute and associated property drawer.

    `HexPropertyDrawer` will draw an integer type decorated with `[Hex]` represented as a hexadecimal string. The user can modify the hex value and it will re-serialize as expected. If the `0x` is removed from the field, or the user enters a decimal number, that number will be serialized as decimal, but still displayed as hexadecimal.
    
    `HexAttribute` allows a manual setting of a minimum display width, adjusting how many potential 0s the hexadecimal string is padded with. By default, the the minimum width will be automatically determined based on the type of the field.
    nitz committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    d4afed0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ca56e5 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. Configuration menu
    Copy the full SHA
    9bdc480 View commit details
    Browse the repository at this point in the history