Bug 2952

Summary: New BitSerialize and BitDeserialize
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: networkAssignee: 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

Description Tommaso Pecorella 2018-07-13 09:37:30 EDT
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.
Comment 1 Tommaso Pecorella 2018-07-13 09:38:43 EDT
Created attachment 3135 [details]
example script

Btw, documentation is still missing, and this script should be translated into a test.
Comment 2 Tommaso Pecorella 2018-07-14 09:01:16 EDT
Created attachment 3136 [details]
New classes, cleaned

Add doxygen, tests, and code style cleanup
Comment 3 Tommaso Pecorella 2018-07-16 10:34:37 EDT
Created attachment 3142 [details]
Cleanup deserialization functions

One function is more than enough to deserialize bits
Comment 4 Tommaso Pecorella 2020-07-11 10:59:21 EDT
Closing and transferring to GitLab