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

decode.bytes does not adhere to abstract-encoding spec #178

Open
ckcr4lyf opened this issue Apr 1, 2024 · 0 comments
Open

decode.bytes does not adhere to abstract-encoding spec #178

ckcr4lyf opened this issue Apr 1, 2024 · 0 comments

Comments

@ckcr4lyf
Copy link
Contributor

ckcr4lyf commented Apr 1, 2024

What version of this package are you using?
Latest

What operating system, Node.js, and npm version?
Arch Linux, latest Node LTS (v20)

What happened?
decode.bytes returns the length of the entire input data after decoding

What did you expect to happen?
It should've returned only the number of bytes consumed.

Are you willing to submit a pull request to fix this bug?
Yes

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

1 participant