Is there a library for gzip-deflating in terms of ByteBuffers hidden on the Internet? Something that allows us to push raw data and then push deflated data? We searched for it, but found only libraries that deal with InputStreams and OutputStreams.
We are tasked with creating gzip filters to deflate a ByteBuffers stream in a pipeline architecture. This is an exhaust architecture in which the last element retrieves data from earlier elements. Our gzip filter deals with ByteBuffers, there is no single Stream object.
We played with adapting the data stream as a kind of InputStream, and then used the GZipOutputStream to satisfy our requirements, but the amount of adapter code is at least annoying.
Post-accept edit : for recording, our architecture is similar to GStreamer, etc.
source share