ubyte[4] to int

Kyle kyle at kyle.kyle
Thu Feb 15 16:51:05 UTC 2018


Hi. Is there a convenient way to convert a ubyte[4] into a signed 
int? I'm having trouble handling the static arrays returned by 
std.bitmanip.nativeToLittleEndian. Is there some magic sauce to 
make the static arrays into input ranges or something? As a side 
note, I'm used to using D on Linux and DMD's error messages on 
Windows are comparably terrible. Thanks!


More information about the Digitalmars-d-learn mailing list