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

Implement Serialize and Deserialize for DecodedMap #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wbinnssmith
Copy link

This uses the struct’s existing from_reader() and to_writer() methods to implement serde’s Serialize and Deserialize traits.

This uses the struct’s existing `from_reader()` and `to_writer()` methods to implement serde’s `Serialize` and `Deserialize` traits.
@loewenheim
Copy link
Contributor

Hi, thank you for the contribution! Can you tell me what your use case for this is? De/serializing a struct from bytes is pretty unusual.

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