Re: PPG Length Encoding in PDU?

Aarno Syvänen <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi Jury,

No. Content-Length is Integer-value. This mean,
either short-integer or long-integer. Long-integer
is hex number prepended with length of that
number. 122 is actually 0x7a.

Aarno

On 29.11.2003, at 14:03, Jury Cherepanov wrote:

> Hello devel,
>
> Is it right that "Content-Length" is encoded as follows.
>
> %05%06%12
>         %AE - application/vnd.wap.sic
>         %87 - Authorization
>                 %0B
>                         %80
>                         jury%00
>                         jury%00
>         %8D - Content Length
>         %F9 - Length !!! (Real Length) 121 => 0x79 , 122 => 0x81 0x00
>
>
> ---------------------------------------------------------
> Jury Cherepanov
> System Developer (Technical Director) , HIGH TECHNOLOGIES
> Turaidas 2a, Riga, Latvia
> Phone +371-6451718
> mailto:[email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.