As liblzma API is similar to zlib API, this class is also close to wxZlibOutputStream, except that it uses reusable functions instead of repeating their code.
No changes yet, this is a pure refactoring in preparation for adding wxLZMAOutputStream.
No compression support yet.