Re: BigEndian to integer
| From: | Gerard Samuel | Date: | Tue, 15 Jul 2003 15:26:12 +0000 |
| Subject: | Re: BigEndian to integer | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155291@lists.php.net to get a copy of this message | ||
Joel Rees wrote:
Just in case you're still groggy when you wake up this morning, the page for pack() lists an 'N' format for unsigned long big endian byte order for pack() and unpack(). I think what you probably want to do most is use the 'N' format when you unpack. (The other responses were amusing, was it a full moon last night? ;-)) Thanks for the heads up. Ill give it a try...