kutsurak / python-bitstring

Automatically exported from code.google.com/p/python-bitstring
0 stars 0 forks source link

Add a module level bytealigned flag #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
By default have

bitstring.bytealigned = False

and then have all the methods with a bytealigned parameter default to 
bitstring.bytealigned.

Then, if you always want to do things on byte boundaries you can just set

bitstring.bytealigned = True

and not bother with all the bytealigned parameters in every method.

Original issue reported on code.google.com by dr.scott...@gmail.com on 31 May 2011 at 4:10

GoogleCodeExporter commented 9 years ago
Done in 2.2.

Original comment by dr.scott...@gmail.com on 18 Jun 2011 at 6:13