note 50452 added to function.unpack

From: Date: Mon, 28 Feb 2005 23:32:32 +0000
Subject: note 50452 added to function.unpack
Groups: php.notes 
Request: Send a blank email to php-notes+get-85695@lists.php.net to get a copy of this message
I am trying to unpack some data which includes some int64 values. I know that they are little endian byte encoded. I have found that I can extract a pair of 32 bit integers, and if the number is small enough I get the value into the first int32 and the second value is 0. If the number is large enough that I get values into each int32, how do I convert them into a useable 64 bit integer? ---- Manual Page -- http://www.php.net/manual/en/function.unpack.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+50452 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50452&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50452&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50452&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50452&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50452&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+50452&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#85695) next »