Skip to content

(De)compress ZLib compressed fields during (de)serialisation of messages #17

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

Merged
merged 5 commits into from
Oct 8, 2022

Conversation

bigglesss
Copy link
Contributor

Only supports u8 buffers at the moment, going to see how tricky handling the conversion into proper types looks, but this is a working tested implementation of basic (de)serialisation, with tests fixed up.

All ZLib code is in the writing/reading functions, so the struct only ever contains the uncompressed version of the data, hence the change in field name.

@bigglesss bigglesss marked this pull request as draft October 7, 2022 23:12
@bigglesss bigglesss changed the title Draft: (De)compress ZLib compressed fields during (de)serialisation of messages (De)compress ZLib compressed fields during (de)serialisation of messages Oct 7, 2022
@bigglesss bigglesss marked this pull request as ready for review October 8, 2022 09:52
@bigglesss bigglesss force-pushed the biggle--decompress-zlib-tagged-members branch from 7697a04 to c0f6dea Compare October 8, 2022 10:34
@gtker gtker merged commit 4cba7b3 into gtker:main Oct 8, 2022
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