Re: Where can get the Number Convert module?Thanks.

2018-01-14 Thread FrankLike via Digitalmars-d-learn
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

Re: Where can get the Number Convert module?Thanks.

2018-01-13 Thread Jonathan M Davis via Digitalmars-d-learn
On Sunday, January 14, 2018 03:28:28 FrankLike via Digitalmars-d-learn wrote: > On Sunday, 14 January 2018 at 03:09:40 UTC, Jonathan M Davis > > wrote: > > On Sunday, January 14, 2018 02:41:39 FrankLike via > > > > Digitalmars-d-learn wrote: > >> [...] > > > > I'd suggest looking at > > > > [...]

Re: Where can get the Number Convert module?Thanks.

2018-01-13 Thread FrankLike via Digitalmars-d-learn
On Sunday, 14 January 2018 at 03:28:28 UTC, FrankLike wrote: On Sunday, 14 January 2018 at 03:09:40 UTC, Jonathan M Davis wrote: On Sunday, January 14, 2018 02:41:39 FrankLike via Digitalmars-d-learn wrote: [...] I'd suggest looking at [...] I get the result "1000" from ubyte[]

Re: Where can get the Number Convert module?Thanks.

2018-01-13 Thread FrankLike via Digitalmars-d-learn
On Sunday, 14 January 2018 at 03:09:40 UTC, Jonathan M Davis wrote: On Sunday, January 14, 2018 02:41:39 FrankLike via Digitalmars-d-learn wrote: [...] I'd suggest looking at [...] I get the result "1000" from byte[] byteData =[0,0,0,8]; Thank you very much.

Re: Where can get the Number Convert module?Thanks.

2018-01-13 Thread Jonathan M Davis via Digitalmars-d-learn
On Sunday, January 14, 2018 02:41:39 FrankLike via Digitalmars-d-learn wrote: > On Sunday, 14 January 2018 at 02:03:39 UTC, Jonathan M Davis > > wrote: > > Well, I'm not quite sure what you mean, but if you mean that > > Such as byte[] byteData =[0,0,0,8]; > to convert, at last,get the string bit

Re: Where can get the Number Convert module?Thanks.

2018-01-13 Thread FrankLike via Digitalmars-d-learn
On Sunday, 14 January 2018 at 02:41:39 UTC, FrankLike wrote: On Sunday, 14 January 2018 at 02:03:39 UTC, Jonathan M Davis wrote: Well, I'm not quite sure what you mean, but if you mean that Sorry,Such as byte[] byteData =[8,0,0,0]; to convert, at last,get the string bit :"100".or get the

Re: Where can get the Number Convert module?Thanks.

2018-01-13 Thread FrankLike via Digitalmars-d-learn
On Sunday, 14 January 2018 at 02:03:39 UTC, Jonathan M Davis wrote: Well, I'm not quite sure what you mean, but if you mean that Such as byte[] byteData =[0,0,0,8]; to convert, at last,get the string bit :"100".or get the BitArray. Thanks.

Re: Where can get the Number Convert module?Thanks.

2018-01-13 Thread Jonathan M Davis via Digitalmars-d-learn
On Sunday, January 14, 2018 01:45:37 FrankLike via Digitalmars-d-learn wrote: > Hi,everyone, > I need some help on 'Number Convert module' in D,such as > byte[] type to BinaryDigit. > Where can get the module? > > Thanks. Well, I'm not quite sure what you mean, but if you mean that you

Where can get the Number Convert module?Thanks.

2018-01-13 Thread FrankLike via Digitalmars-d-learn
Hi,everyone, I need some help on 'Number Convert module' in D,such as byte[] type to BinaryDigit. Where can get the module? Thanks.