Message140177
| Author |
amaury.forgeotdarc |
| Recipients |
Alexander.Belopolsky, Jake.Coffman, amaury.forgeotdarc, castironpi, terry.reedy, theller, vladris, vstinner |
| Date |
2011年07月12日.08:25:46 |
| SpamBayes Score |
0.0007854513 |
| Marked as misclassified |
No |
| Message-id |
<1310459147.12.0.312624503013.issue4376@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|