In PHP there is a function called pack() "http://us3.php.net/pack". The function will pack data into a binary string. I assumed that this would be done using CF's CharsetEncode(), but the result was not as I expected.
I am specifically trying to call "pack('N',foo)", which will encode as unsigned long (always 32 bit, big endian byte order). I have spent the 3hrs looking for an answer and came up dry. Any help would be much appreciated. Thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289569 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4