Re: help..i'm stuck here
From: alyssa (alyssa_at_discussions.microsoft.com)
Date: 03/14/05
- Next message: Hannes Danzl[NDD]: "Re: ANN: free DPack for VS.NET 2003/2005 v2.0.6"
- Previous message: Das Bose: "Re: Web Svc VS remote component hosted in IIS"
- In reply to: Michael C#: "Re: help..i'm stuck here"
- Next in thread: Michael C#: "Re: help..i'm stuck here"
- Reply: Michael C#: "Re: help..i'm stuck here"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 13 Mar 2005 19:01:02 -0800
oh..ya.i wan to pass it as a string....then separate them according to the
attributes...may know how to do it?
"Michael C#" wrote:
> ? Your example isn't a binary string to begin with... 2, 3, 4, 5 aren't
> binary digits...
>
> Are you trying to pass this as a string? If so, what's the advantage to
> converting it to binary first? The only advantage to converting your items
> and "packing" them into binary format would be the space savings and faster
> speed of transmission over the wire. If you're converting them to a String
> of "1" and "0" characters, you're completely defeating any space or speed
> enhancements.
>
> "alyssa" <alyssa@discussions.microsoft.com> wrote in message
> news:074AB3EA-EE56-4B9B-B7FA-CB51CB56C1F6@microsoft.com...
> > Hi guys,
> > May i know how to declare a string of binary data and pass it to the
> > method?
> > For example, int a[]={10010001120420052314}
> > is it correct?
> > and if i have receive the binary data, may i know how to separate them and
> > store each of them inside a variable such as int cust_id?is it possible?
> > For
> > example, the first four bits is the customer id, the second four bits is
> > the
> > call id and third 8 bits is the date and the remaining is the time..
> >
> > thanks in advance..
> >
>
>
>
- Next message: Hannes Danzl[NDD]: "Re: ANN: free DPack for VS.NET 2003/2005 v2.0.6"
- Previous message: Das Bose: "Re: Web Svc VS remote component hosted in IIS"
- In reply to: Michael C#: "Re: help..i'm stuck here"
- Next in thread: Michael C#: "Re: help..i'm stuck here"
- Reply: Michael C#: "Re: help..i'm stuck here"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|