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

feat: Additional string codecs #29

Merged
merged 3 commits into from
Mar 5, 2024
Merged

Conversation

MierenManz
Copy link
Collaborator

Some strings are prefixed with some kind of length byte(s).
This is a generic class which by default uses a u8 as length prefix but can use any Unsized<number> as prefix codec

No tests have been made or done. But it is relatively straight forward

@MierenManz
Copy link
Collaborator Author

This pr also changes FixedLength to be FixedLengthString to be consistent with other strings like CString and PrefixedString

@MierenManz MierenManz requested a review from load1n9 March 4, 2024 22:54
@eliassjogreen eliassjogreen changed the title [Feature]: Additional string codecs feat: Additional string codecs Mar 5, 2024
@eliassjogreen eliassjogreen merged commit a598ac0 into denosaurs:main Mar 5, 2024
2 checks passed
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.

2 participants