- Decouple the compressing and non-compressing wrappers. - Turn the open(), close() and write() callbacks into proper virtual methods. - Change the write() interface to take a void pointer and return a bool to simplify its use. - Eliminate the need for explicit initialization of the wrappers' fields. Co-authored-by: Ivan Kosarev <mail@ivankosarev.com> Pull Request: https://projects.blender.org/blender/blender/pulls/113071