Where can get the Number Convert module?Thanks.

FrankLike 1150015857 at qq.com
Sun Jan 14 07:57:50 UTC 2018


On Sunday, 14 January 2018 at 03:49:05 UTC, Jonathan M Davis 
wrote:

>> I get the result "1000" from  byte[] byteData =[0,0,0,8];
>>
>> Thank you very much.
>
> Good to hear.
>
> On a side note, I would point out that you almost certainly 
> want to be using ubyte and not byte. byte is signed, whereas 
> ubyte is unsigned. So, if you want to represent bytes of memory 
> rather than an integral value between 1 and 127, then you want 
> ubyte.
>
> - Jonathan M Davis

Thank you.


More information about the Digitalmars-d-learn mailing list