14 lines
303 B
C
Raw Normal View History

2019-02-20 02:10:06 -05:00
#pragma once
2019-09-25 23:55:39 -04:00
#include <stream.h>
2019-02-20 02:10:06 -05:00
#include "format.h"
2019-12-13 00:37:06 -05:00
stream_ptr get_encoder(format_t type, stream_ptr &&base);
2019-11-23 04:57:52 -05:00
2019-12-13 00:37:06 -05:00
stream_ptr get_decoder(format_t type, stream_ptr &&base);
2019-11-23 04:57:52 -05:00
2019-02-20 20:49:26 -05:00
void compress(const char *method, const char *infile, const char *outfile);
2019-11-23 04:57:52 -05:00
2019-02-20 20:49:26 -05:00
void decompress(char *infile, const char *outfile);