Dwords... more like FWords!
March 22, 2013 10:02 AM Subscribe
Need some help converting an array of C# DWords to a PHP String....
My programming partner and I have been handed a set of DWords from the land of dotnet that we're using to build a key. It looks little like this:
tkKey.push_back(0x789d6152);
tkKey.push_back(0x630fe221);
tkKey.push_back(0x789d6152);
tkKey.push_back(0x630fe221);
... we want to convert it to a string that ends up looking like:
\x8f\xb3M\x05,
... etc...
How do we do that? I've been looking at pack and unpack, just finding myself horribly confused....
posted by ph00dz to computers & internet (5 answers total)
posted by artlung at 10:19 AM on March 22