LZMA non-streamed compression

I was wondering if it is possible to use in the current implementation / add support for compressing non-streamed LZMA.

Every sort of compression documented in LZMA Docs seems to be only compressing streamed

The difference between streamed and non streamed is:

In streamed compression, the header does not include the size of the compressed data, and there is and EOF marker at the end of the file to indicate that the streaming has “ended”.

In non streamed, the “metadata” is saved in the LZMA header (the beginning of the file) with the total uncompressed data size.

Thanks in advance.

I’ve moved this to the Help category as it appears to be a question to understand available options.

resurfacing the question…