|
Bugzilla – Full Text Bug Listing |
| Summary: | New BitSerialize and BitDeserialize | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Tommaso Pecorella <tommaso.pecorella> |
| Component: | network | Assignee: | ns-bugs <ns-bugs> |
| Status: | RESOLVED MOVED | ||
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: |
New classes
example script New classes, cleaned Cleanup deserialization functions |
||
Created attachment 3135 [details]
example script
Btw, documentation is still missing, and this script should be translated into a test.
Created attachment 3136 [details]
New classes, cleaned
Add doxygen, tests, and code style cleanup
Created attachment 3142 [details]
Cleanup deserialization functions
One function is more than enough to deserialize bits
Closing and transferring to GitLab |
Created attachment 3134 [details] New classes Two new classes to handle bits in headers, footers, and messages. The classes simplify the use of bit masks, especially when you have a large number of variable-sized fields without clear byte boundaries.