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) » StringUnZip example needed
Re: StringUnZip example needed [message #60076 is a reply to message #60075] Sun, 06 August 2023 13:20 Go to previous messageGo to previous message
omari is currently offline  omari
Messages: 276
Registered: March 2010
Experienced Member
       String ss = StringUnZip(s).ReadFile();


a complete example (inspired from reference/Zip) :
	StringUnZip unzip(zipStr);
	while(!(unzip.IsEof() || unzip.IsError())) {
		LOG("Path:"   << unzip.GetPath());
		LOG("  Time:" << unzip.GetTime());
		if(unzip.IsFile()()) {
			LOG("  Size:"    << unzip.GetLength());
			String content =  unzip.ReadFile();
		}
		else
			unzip.SkipFile();
	}


regards
omari.
 
Read Message
Read Message
Read Message
Previous Topic: Remove all children from TopWindow/ParentCtrl
Next Topic: Scroll Panel
Goto Forum:
  


Current Time: Thu Aug 21 20:02:02 CEST 2025

Total time taken to generate the page: 0.05491 seconds