Skip to content

Commit

Permalink
Update ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
rtbo committed Aug 17, 2023
1 parent 58ab243 commit 67de9a3
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,24 +179,6 @@ readBinaryFile(archive)
.each!(e => e.extractTo(extractionSite));
```

### Compression/Decompression with algorithm known at runtime

```d
import squiz_box;
// SquizAlgo is a D interface
// it must be instantiated from a compile-time known algorithm
SquizAlgo algo = squizAlgo(Deflate.init);
// the rest is the same as previously
const ubyte[] data = myDataToCompress();
only(data)
.squiz(algo)
.sendOverNetwork();
```

### Download, list and extract archive

This examples uses [`requests`](https://github.com/ikod/dlang-requests) to download
Expand Down

0 comments on commit 67de9a3

Please sign in to comment.