Reading file as binary

Ali Çehreli acehreli at yahoo.com
Wed May 29 16:24:41 PDT 2013


On 05/29/2013 04:11 PM, bearophile wrote:

 > Ali Çehreli:
 >
 >>     writefln("0x%(%x%)", a);
 >
 > But usually I prefer to show all the zero nibbles:

 >      writefln("0x%(%02x%)", a); // Output: 0xa10207b

And only then the output would make sense. Thanks. :)

Ali



More information about the Digitalmars-d-learn mailing list