Magisk/native/jni/magiskboot/compress.h
2019-12-13 00:37:06 -05:00

14 lines
303 B
C

#pragma once
#include <stream.h>
#include "format.h"
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);