Magisk/native/jni/magiskboot/compress.hpp
2021-11-23 18:08:14 -08:00

14 lines
317 B
C++

#pragma once
#include <stream.hpp>
#include "format.hpp"
filter_strm_ptr get_encoder(format_t type, stream_ptr &&base);
filter_strm_ptr get_decoder(format_t type, stream_ptr &&base);
void compress(const char *method, const char *infile, const char *outfile);
void decompress(char *infile, const char *outfile);