Magisk/native/jni/magiskboot/compress.hpp

14 lines
317 B
C++
Raw Normal View History

2019-02-20 07:10:06 +00:00
#pragma once
2020-03-09 08:50:30 +00:00
#include <stream.hpp>
2019-02-20 07:10:06 +00:00
2020-03-09 08:50:30 +00:00
#include "format.hpp"
2019-02-20 07:10:06 +00:00
2021-11-24 02:08:14 +00:00
filter_strm_ptr get_encoder(format_t type, stream_ptr &&base);
2019-11-23 09:57:52 +00:00
2021-11-24 02:08:14 +00:00
filter_strm_ptr get_decoder(format_t type, stream_ptr &&base);
2019-11-23 09:57:52 +00:00
2019-02-21 01:49:26 +00:00
void compress(const char *method, const char *infile, const char *outfile);
2019-11-23 09:57:52 +00:00
2019-02-21 01:49:26 +00:00
void decompress(char *infile, const char *outfile);