in reply to Reversing chunks in a string (bits of byte in a bitstring)

I should think the obvious implementation would be to use pack and unpack with a combination of little-endian and big-endian templates.

--
I'm not belgian but I play one on TV.

  • Comment on Re: Reversing chunks in a string (bits of byte in a bitstring)