ubytes to ulong problem

Charles Hixson charleshixsn at earthlink.net
Sun Dec 22 10:50:15 PST 2013


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



More information about the Digitalmars-d-learn mailing list