Abstraction layer

The flash filesystem never compresses any files. It detects compressed files on the media and uses inflator to decompress them as they're accessed. An abstraction layer in inflator achieves efficiency and preserves POSIX compliance. Special compressed data headers on top of the flash files provide fast seek times.

This layering is quite straightforward. Specific I/O functions include handling the three basic access calls for compressed files: