diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-09-10 22:12:22 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-09-10 22:12:22 +0200 |
| commit | 32e14551a90e85000e41b3f0445d34d58a1431e4 (patch) | |
| tree | 912c1e50b93b501446b1b179ee2a3e93586fb854 /src/decompress.hh | |
| parent | cf99d0c865474105c14b2348fdbd1c83d87d5a29 (diff) | |
Add unicode general category lookup
Generate the lookup tables from UnicodeData.txt, do to that,
add gen_ugc, which uses csv, buffers, line, io and other modules
to do the job.
Diffstat (limited to 'src/decompress.hh')
| -rw-r--r-- | src/decompress.hh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/decompress.hh b/src/decompress.hh new file mode 100644 index 0000000..a15efdc --- /dev/null +++ b/src/decompress.hh @@ -0,0 +1,19 @@ +#ifndef DECOMPRESS_HH +#define DECOMPRESS_HH + +#include "io.hh" // IWYU pragma: export + +namespace decompress { + +// zlib format +std::unique_ptr<io::Reader> zlib(std::unique_ptr<io::Reader> reader); + +// gzip (.gz) format +std::unique_ptr<io::Reader> gzip(std::unique_ptr<io::Reader> reader); + +// xz format +std::unique_ptr<io::Reader> xz(std::unique_ptr<io::Reader> reader); + +} // namespace decompress + +#endif // DECOMPRESS_HH |
