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

Change packet kind enum to use hex constants. #245

Merged
merged 1 commit into from
Nov 6, 2016

Conversation

iphydf
Copy link
Member

@iphydf iphydf commented Nov 5, 2016

Hex constants make it clearer that you can only use 2 nibbles (the two
digits of the number, displayed as two columns in the source code), i.e.
1 byte, for the packet kind. It also makes the bit representation easier
to see.


This change is Reviewable

@iphydf iphydf added this to the v0.0.3 milestone Nov 5, 2016
@GrayHatter
Copy link

:lgtm_strong:


Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@SkyzohKey SkyzohKey added enhancement New feature for the user, not a new feature for build script network Network PR:ready labels Nov 6, 2016
Hex constants make it clearer that you can only use 2 nibbles (the two
digits of the number, displayed as two columns in the source code), i.e.
1 byte, for the packet kind. It also makes the bit representation easier
to see.
@JFreegman
Copy link
Member

:lgtm_strong:


Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@iphydf iphydf merged commit 5019a5a into TokTok:master Nov 6, 2016
@iphydf iphydf deleted the hex-packets branch December 23, 2016 02:31
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature for the user, not a new feature for build script network Network
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants