Magisk/native/jni/boot/compress.hpp
2022-05-12 02:03:51 -07: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);