| Reply | « Previous Thread | Next Thread » |
|
i know, that: encoded as bytes where each of them contain 7 bits of the size and most significant bit set to 1.
But, could you give me the example if the picture has the following size: 19725 bytes. 19725--->4d0d--->100110100001101----> can you following??... thanks |
|
19725 -> 4d 0d -> 0100 1101 0000 1101 -> 01 001 1010 000 1101 ->
the most significant bit in last octet is set to 0 for ending mark 1000 0001 1001 1010 0000 1101 BR M, Forum Nokia |
|
Convert size to hex numbers, then to bits, then
take the bits and put them inplace of the xs. Max 14 bits long number fits to two octets: 1xxx xxxx 0xxx xxxx Max 21 bits long number fits to three octets: 1xxx xxxx 1xxx xxxx 0xxx xxxx Convert octets back to hex numbers. BR M, Forum Nokia |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|