On 12/22/2013 02:22 AM, Ali Çehreli wrote:
On 12/22/2013 01:04 AM, Charles Hixson wrote:

> Nice, but the block is longer than 8 bytes, so I should use a "for (i =
> n; i < n + 8; i++)" rather than a foreach, and index off of i.

Makes sense. That reminded me of the Phobos function that does exactly what you want. Have you considered std.bitmanip.read?

Ali


No, thanks.  That's precisely what I was looking for.

--
Charles Hixson

Reply via email to