Options on Compression?
citibeth opened this issue · 2 comments
citibeth commented
Is there a way to set / control compression parameters when opening a stream?
[Nice library! At first I tried boost, as per your suggestion. But boost's filters are not completely general; they can only write to a "sink", not to a general ostream. So that meant I couldn't write to a boost::interprocess::ovectorstream, which is what I really wanted to use as my sink. Using zstr to write to a ovectorstream works like a charm!]
ferdymercury commented
See this fork: JGI-Bioinformatics@96b1aaa for setting compression level
ferdymercury commented
Will be fixed by #9