Magisk/native/jni/magiskboot/compress.hpp
2020-03-09 01:50:30 -07:00

14 lines
307 B
C++

#pragma once
#include <stream.hpp>
#include "format.hpp"
stream_ptr get_encoder(format_t type, stream_ptr &&base);
stream_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);