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

Bit mask of 'Stream' field is wrong #70

Closed
cnbeta opened this issue Oct 18, 2022 · 0 comments
Closed

Bit mask of 'Stream' field is wrong #70

cnbeta opened this issue Oct 18, 2022 · 0 comments

Comments

@cnbeta
Copy link

cnbeta commented Oct 18, 2022

Describe the bug
Bit mask used to decode a message header not contains bit6.

File:MessageHeader.cs
Function: Decode

S = (byte)(s & 0b0111_111),

The integer literal 0b0111_111 should be 0b0111_1111 or 0b1111_111.

@mkjeff mkjeff closed this as completed Jan 6, 2024
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