Spring icon indicating copy to clipboard operation
Spring copied to clipboard

How to work with spring compression in C++

Open foriin opened this issue 3 months ago • 1 comments

Hi and thanks for developing Spring, I was wondering, is it possible to work with spring format using C++ without first decompressing it? When using gzip or bz2 compression I'm using boost:iostreams zlib and bz2lib to work directly in my cpp scripts. Is there a way to do something like that with Spring? Or is there a zcat analog that I can use to pipe .spring file to my script? Cheers, Artem

foriin avatar Mar 25 '24 09:03 foriin

Not really at the moment. One option I can imagine is to invoke spring with named pipes instead of files and then read from the pipe from your application in a streaming manner.

shubhamchandak94 avatar Apr 08 '24 05:04 shubhamchandak94