summaryrefslogtreecommitdiff
path: root/encoder.h
blob: a9a0e5cb1dd654c9505d88a07db728311d515dc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef ENCODER_H
#define ENCODER_H

#include <boost/cstdint.hpp>

class EncoderBase {
	public:
		virtual size_t encode(uint8_t *input, size_t input_size, uint8_t *output, size_t output_size) = 0;
		virtual size_t flush(uint8_t *output, size_t output_size) = 0;
};

#endif