mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-04-21 20:51:28 +00:00
13 lines
386 B
C++
13 lines
386 B
C++
#pragma once
|
|
|
|
#include <cxx.h>
|
|
#include <stream.hpp>
|
|
|
|
#include "format.hpp"
|
|
|
|
out_strm_ptr get_encoder(format_t type, out_strm_ptr &&base);
|
|
out_strm_ptr get_decoder(format_t type, out_strm_ptr &&base);
|
|
void compress(const char *method, const char *infile, const char *outfile);
|
|
void decompress(char *infile, const char *outfile);
|
|
bool decompress(rust::Slice<const uint8_t> buf, int fd);
|