1 module zlist
/*is aliced*/;
8 // ////////////////////////////////////////////////////////////////////////// //
9 void main (string
[] args
) {
12 writeln("opening archive...");
13 arc
.openArchive((args
.length
> 1 ? args
[1] : "z00.arz"));
14 writeln(arc
.files
.length
, " files found");
15 foreach (auto v
; arc
.files
.byValue
) {
16 writefln("%12u %12u %12u %s", v
.size
, v
.chunk
, v
.chunkofs
, v
.name
);
24 auto a1
= ArzArchive(arc
);
28 auto fl
= arc
.open((args
.length
> 2 ? args
[2] : "simpledisplay.Timer.fd.html"));
29 writeln("size: ", fl
.size
);
30 auto buf
= new char[](fl
.size
);
31 auto rd
= fl
.rawRead(buf
[]);
32 assert(rd
.length
== buf
.length
);