ubytes to ulong problem

Ali Çehreli acehreli at yahoo.com
Sun Dec 22 02:22:18 PST 2013


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



More information about the Digitalmars-d-learn mailing list