Bug 2952 - New BitSerialize and BitDeserialize
New BitSerialize and BitDeserialize
Status: RESOLVED MOVED
Product: ns-3
Classification: Unclassified
Component: network
ns-3-dev
All All
: P3 enhancement
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-07-13 09:37 EDT by Tommaso Pecorella
Modified: 2020-07-11 10:59 EDT (History)
0 users

See Also:


Attachments
New classes (11.10 KB, text/plain)
2018-07-13 09:37 EDT, Tommaso Pecorella
Details
example script (2.39 KB, text/x-csrc)
2018-07-13 09:38 EDT, Tommaso Pecorella
Details
New classes, cleaned (18.71 KB, patch)
2018-07-14 09:01 EDT, Tommaso Pecorella
Details | Diff
Cleanup deserialization functions (17.00 KB, patch)
2018-07-16 10:34 EDT, Tommaso Pecorella
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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