[icq-devel] Length Problem



Pierre shanka at worldonline.fr
Wed Jul 30 09:21:18 CEST 2003


Hello
I receive the data into a Byte Array and I convert to string those values.
and sometimes I've got Hexadecimal value and sometimes Decimal values.
Why?
Thanx.
----- Original Message ----- 
From: "Remy Lebeau" <gambit47 at yahoo.com>
To: <icq-devel at blipp.com>
Sent: Tuesday, July 29, 2003 7:28 PM
Subject: Re: [icq-devel] Length Problem


> 
> --- Pierre <shanka at worldonline.fr> wrote:
> 
> > My problem actually is the data's length.
> > In Channel 2 I receive this length directly
> > converted in decimal (ex: 34).
> > But when I receive the SNAC13,06 this length
> > is not converted (ex:10a)
> > In Channel 1 this length is not converted
> > and it's ok.
> 
> Please clearify.  Your description is much too vague. 
> Hex vs. decimal is a human readibility issue, not a
> machine functionality issue.  The length value is
> always in the same format every time (binary).  What
> exactly are you looking at when you see this
> happening?  What does your code look like?
> 
> 
> Gambit
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> -------------------------------------------------
> icq-devel - The forum for ICQ protocol discussion
> For unsubscribe and other mailing list info, see:
> http://www.d.kth.se/~d95-mih/icq/icq-devel/
> 
> 



More information about the icq-devel mailing list