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

Added methods to data words #33

Merged
merged 4 commits into from
Mar 5, 2024
Merged

Added methods to data words #33

merged 4 commits into from
Mar 5, 2024

Conversation

mjhouse
Copy link
Owner

@mjhouse mjhouse commented Mar 5, 2024

  • Added as_string, from_string, and with_string methods (&str)
  • Added as_data, from_data, and with_data methods (u16)
  • Added as_bytes, from_bytes, and with_bytes methods ([u8;2])
  • Added parity constructor methods with_parity and with_calculated_parity
  • Added getters for parity parity and calculate_parity

@mjhouse mjhouse merged commit da80fa8 into development Mar 5, 2024
1 check passed
@mjhouse mjhouse deleted the refactor_data_words branch March 5, 2024 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant