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

Cross language serialization support #42

Open
patelprateek opened this issue Sep 14, 2022 · 2 comments
Open

Cross language serialization support #42

patelprateek opened this issue Sep 14, 2022 · 2 comments

Comments

@patelprateek
Copy link

Very interesting work.
I have some production use case where i want to use filters in different systems , is there any support for serialization of these filters or any serialization spec ? Any implementations you would be aware of will be helpful

@lemire
Copy link
Member

lemire commented Sep 14, 2022

If you'd like to propose a format specification, please do so.

@lemire
Copy link
Member

lemire commented Feb 19, 2024

We now have serialization as part of the library:

  size_t buffer_size = binary_fuse16_serialization_bytes(&filter);
  char *buffer = (char*)malloc(buffer_size);
  binary_fuse16_serialize(&filter, buffer);
  binary_fuse16_free(&filter);
  binary_fuse16_deserialize(&filter, buffer);
  free(buffer);

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

No branches or pull requests

2 participants