Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Filtering streams for bz2
icon4.gif  Filtering streams for bz2 [message #49312] Wed, 24 January 2018 20:28 Go to previous message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
I've implemented bz2::CompressStream and bz2::DecompressStream. Source code is attached.
Could you please add them to the Upp code?

UPD: My DecompressStream can read multistream bz2 files like this one

By default it will read all streams, but it would be nice to be able to allow DecompressStream/InFilterStream to read just one logical stream. The problem is that Filter is an Event (unlike More) and it doesn't allow to pass info about "end of stream" from Filter to InFilterStream the way More does that.
  • Attachment: bz2.zip
    (Size: 3.31KB, Downloaded 255 times)


Regards,
Novo

[Updated on: Thu, 25 January 2018 05:29]

Report message to a moderator

 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: libpng on linux
Next Topic: RegExp: newlines in replacement string
Goto Forum:
  


Current Time: Thu Apr 25 02:18:09 CEST 2024

Total time taken to generate the page: 0.08083 seconds