flush(flush = Zlib::SYNC_FLUSH) â String
flush(flush = Zlib::SYNC_FLUSH) { |chunk| ... } â nil
flush(flush = Zlib::SYNC_FLUSH) { |chunk| ... } â nil
Instance Public methods
This method is equivalent to deflate('', flush)
. This
method is just provided to improve the readability of your Ruby program.
If a block is given chunks of deflate output are yielded to the block until
the buffer is flushed.
See #deflate for detail on the
flush
constants NO_FLUSH, SYNC_FLUSH, FULL_FLUSH and FINISH.
Please login to continue.