[BangPypers] Handling bit sized fields in network headers

Balachandran Sivakumar benignbala at gmail.com
Fri May 4 12:10:34 CEST 2012


Hi,

          What is the best way to handle bit sized fileds in network
headers, if the data is binary ? The struct module doesn't support
sizes in bits, and I have scenarios where there are fields of 2 bits,
3 bits and 5 bits in size. Thanks

-- 
Thank you
Balachandran Sivakumar

Arise Awake and stop not till the goal is reached.
                                                             - Swami Vivekananda

Mail: benignbala at gmail.com
Blog: http://benignbala.wordpress.com/


More information about the BangPypers mailing list