-
Notifications
You must be signed in to change notification settings - Fork 1
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
Moved decoders to separate module so they can be used externally #26
Moved decoders to separate module so they can be used externally #26
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
0496265
to
f98fb7a
Compare
a <- G.getWord32be | ||
b <- G.getWord32be | ||
c <- G.getWord32be | ||
d <- G.getWord32be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other cases use getWord32le
, are you use getWord32be
here deliberately?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's deliberate in the sense that Dave said they did it deliberately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably because IPv6
is stored in Network Order, which is the same as BE.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's interesting though that we store IPv4 in LE, so there is some inconsistency there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
- Added IP Block dumps - Use refactored decoders for complex types - Change catch-all case so we can't miss this in future - Reduced indentation
f98fb7a
to
0e4e614
Compare
No description provided.