Message76726
I note that using the struct module, a user can specify if number items
of the format are to be interpreted as either big or small endian.
However the format specifier can only accept one indicator character at
its first character to apply for all number items in it. e.g:
"<HI" specifies that both the unsigned short and unsigned int are to be
interpreted as little endian values.
It would be nice to be able to instead do "<>HI" where the first '<'
character indicates the default endianess (for compatibility purposes)
and then the second '>' character indicates that the unsigned short
should be interpreted as big endian. The unsigned int defaults to small
endian as per the first character. |
|
Date |
User |
Action |
Args |
2008-12-02 06:26:46 | shaddybaddah | set | recipients:
+ shaddybaddah |
2008-12-02 06:26:45 | shaddybaddah | set | messageid: <1228199205.8.0.509541493061.issue4484@psf.upfronthosting.co.za> |
2008-12-02 06:26:43 | shaddybaddah | link | issue4484 messages |
2008-12-02 06:26:41 | shaddybaddah | create | |
|