Extract tar to memory and unblock
I need to extract a tar.gz
stream of data in memory. An additional limitation is that I cannot block.
Deflation in memory works fine through zlib
.
Now I need the short term part. Unfortunately, all the libraries I found either block or just work with tar files. Is there a library that works similarly zlib
?
0
abergmeier
source
to share
2 answers
Ok, there was no suitable library before. But it will happen soon. Check here , but keep in mind that it doesn't work yet.
0
abergmeier
source
to share
You can try libtar . And here is an outside suggestion for satisfying the required SO answer length.
0
Mark adler
source
to share