in reply to how to unpack a big-endian signed short integer
Instead of 's', use 'n'.
's' is unsigned short in your platform specific/c-compiler format.
'n' is unsigned short in "network" (big endian) format.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: how to unpack a big-endian signed short integer
by robinbowes (Beadle) on Oct 15, 2003 at 19:52 UTC | |
by BrowserUk (Patriarch) on Oct 15, 2003 at 20:06 UTC |