Storing compressed data: tidbit
Richard Gaskin
ambassador at fourthworld.com
Mon Jan 12 09:58:53 EST 2004
FlexibleLearning at aol.com wrote:
> -- These allow compressed data to be stored in a password-protected stack...
>
> I recently asked if RR still corrupts compressed data when stored in a
> password-protected stack. Assuming this remains the case, the solution is to
> encode
> the compressed data which, although making the compressed data a bit bigger,
> does at least avoid invalid data problems...
>
> function compressAlt tData
> put compress(tData) into dummy
> return base64Encode(dummy)
> end compressAlt
>
> function decompressAlt tData
> put base64Decode(tData) into dummy
> return decompress(dummy)
> end decompressAlt
I believe the only issue is when storing data in fields. When stored in
custom properties they should be preserved reliably. If not, lets come up
with a recipe for reproducingthe error and Bugzilla it.
--
Richard Gaskin
Fourth World Media Corporation
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the use-livecode
mailing list