Replies: 2 comments 1 reply
-
What existing ways are you referring to? |
Beta Was this translation helpful? Give feedback.
1 reply
-
The inflate and deflate functions operate entirely in memory, and can easily be used for this purpose. Though, of course, there are always "intermediate buffers". gzread and gzwrite have intermediate buffers. I do not plan to add reverse gzread and gzwrite routines. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i can see there are ways to decompress from and compress to an fd. but why not add a compress from and decompress to?
this way i could directly decompress and write to the write end of a pipe_fd without intermediate buffers.
scenario:
Beta Was this translation helpful? Give feedback.
All reactions