If you read a file with the .~~~ extension, the file isn't
decompressed for you, as it would be normally.
Now this is
where we start talking about rules. All this reading and
getting the size of files is fairly simple; things get ugly
when it's time to write those files.
- You can't write all over the place! Although the flash
filesystem supports random writes in uncompressed files, the same isn't
true for compressed files.
- Compressed files are read-only;
you can replace a compressed file, but you can't modify it in place.
- The flash filesystem never transparently compresses
any data.
- If compressed data needs to be put on the flash during
the life of a product, this data has to be precompressed.