Message140177
Is there a unit test about the actual feature: that the bytes are actually swapped in the structure?
For example, with a
class T(BigEndianStructure): _fields_ = [("a", c_int), ("b", c_int)]
cast a pointer to T into a pointer to c_int, and read the values. |
|
Date |
User |
Action |
Args |
2011-07-12 08:25:47 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, theller, terry.reedy, vstinner, castironpi, Alexander.Belopolsky, Jake.Coffman, vladris |
2011-07-12 08:25:47 | amaury.forgeotdarc | set | messageid: <1310459147.12.0.312624503013.issue4376@psf.upfronthosting.co.za> |
2011-07-12 08:25:46 | amaury.forgeotdarc | link | issue4376 messages |
2011-07-12 08:25:46 | amaury.forgeotdarc | create | |
|