Thomas Adam
10/26/2007 6:40:00 PM
On 26/10/2007, Giles Bowkett <gilesb@gmail.com> wrote:
> > > encryption code or something related, but I'm not sure. Just
> > > wondering, what's it for? Who uses it, and why?
> >
> > Array#pack and String#unpack are useful for handling _binary_ network
> > protocols and file formats.
>
> So would this be accurate? Use cases would include implementing
> graphics formats and extracting text from proprietary-format word
> processor files?
Anything that's encoded (URL-encoding, for instance), binary encoding.
Binary data sent down from pipes/sockets, etc.
Just look at the formatting options for it.
-- Thomas Adam