mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-25 14:22:54 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@10138 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f9d2e8e7ed
commit
71fc06925a
1 changed files with 3 additions and 2 deletions
|
|
@ -9,8 +9,9 @@ CONSOLE_APP_MAIN
|
|||
StdLogSetup(LOG_COUT|LOG_FILE);
|
||||
String data = LoadFile("C:/xxx/xxx/upp-x11-src-9041.tar");
|
||||
|
||||
auto cp = [](int64 pos, int64 size) -> bool { DLOG("Compress: " << pos << " " << size); return false; };
|
||||
auto dp = [](int64 pos, int64 size) -> bool { DLOG("DeCompress: " << pos << " " << size); return false; };
|
||||
EventGate<int64, int64> cp, dp;
|
||||
cp << [](int64 pos, int64 size) -> bool { DLOG("Compress: " << pos << " " << size); return false; };
|
||||
dp << [](int64 pos, int64 size) -> bool { DLOG("DeCompress: " << pos << " " << size); return false; };
|
||||
|
||||
{
|
||||
String c = ZstdCompress(data, cp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue