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

The "one byte" length encoding limit was wrong #19

Merged
merged 1 commit into from
May 3, 2024

Conversation

fdie
Copy link
Contributor

@fdie fdie commented May 3, 2024

According to the length encoded integers specification, integers below 0xFB (251) are encoded on 1 byte.
An integer of 251 is encoded on 2 bytes (little endian) <<16#fc, 251, 0>>

@prefiks prefiks merged commit ad033fd into processone:master May 3, 2024
4 of 5 checks passed
@prefiks
Copy link
Member

prefiks commented May 3, 2024

Looks good, thank oyu.

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