C++ equivalent of PHP's pack()
<p>My question is simple.</p>

<p>Is there an equivalent of PHP's pack() and unpack() function in the C++ STL?
If no, is there an alternative to achieve the same goal?</p>

<p><a href="http://us.php.net/pack" rel="nofollow">http://us.php.net/pack</a></p>

<p>Thanks.</p>
