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

Support re-encoding of indefinite length types. #113

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

Conversation

mesudip
Copy link

@mesudip mesudip commented Sep 10, 2024

Why

Its important for my use-case that re-encoding some portion of decoded data creates the same binary.

What

When decoding indefinite length array, text, binary or map,

  • return a proxy of the type
  • retain the original segments so that it can be re-encoded to same data.
  • when encoding, if a flag is set, use the indefinite length encoding.

@mesudip mesudip force-pushed the feat/indefinite-re-encoding branch from 660244f to 3051cf6 Compare September 10, 2024 09:14
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.

1 participant