Denis Faivre wrote in message <31325@palm-dev-forum>...
...
>I had seen your post and definition of RLE : "The RLE compression is a
>simple sequence of <repeat count><byte of data>, where the repeat count
byte
>will be 1...255."
>
>However I wondered if Palm somehow confirmed that PalmOS implementation
>follows this definition.
>
So for non-repeating byte sequences you double them in length, e.g.
sequence: 0x01 0x02 0x03 0x04
result: 0x01 0x01 0x01 0x02 0x01 0x03 0x01 0x04
??
Most RLE schemes I am familiar with have a code that says "the next
N bytes are to be read as-is", frequently the high-bit. Thererefore the
result for my example could be: 0x84 0x01 0x02 0x03 0x04
Now ... which way does Palm do it?
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi/sec: not just a good idea, it's the LAW!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/