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   |
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.
|
|
|
Goto Forum:
Current Time: Thu Aug 21 22:04:06 CEST 2025
Total time taken to generate the page: 0.11569 seconds
|