Read file/stream

Stewart Gordon smjg_1998 at yahoo.com
Fri Mar 11 14:39:43 PST 2011


On 11/03/2011 21:51, Steven Schveighoffer wrote:
<snip>
>> Presumably there's a reason that it's been provided for uint but not ushort or ulong....
>
> I think things in std.intrinsic are functions that tie directly to CPU features,

True, but...

> so presumably, the CPU only provides the possibility for 4-byte width.

D is designed to run on a variety of CPUs.  Do you really think that they all have a 
built-in instruction to reverse the order of 4 bytes but no other number?

Stewart.


More information about the Digitalmars-d-learn mailing list