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

Ability to fallback to v2 encoding #359

Open
Horusiath opened this issue Nov 18, 2023 · 0 comments
Open

Ability to fallback to v2 encoding #359

Horusiath opened this issue Nov 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Horusiath
Copy link
Collaborator

It's a small quality of life improvement, but it sometimes might happen that we're passing a binary message encoded using v2 encoding over a method/decoder set to v1. It's actually possible to detect v2 encoding as it's starting with [0,0,...] (which means empty update in v1) followed by more bytes. With that we could optionally fallback to v2 in some cases.

@Horusiath Horusiath added the enhancement New feature or request label Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant