32 class ContentDecoder {
34 ContentDecoder() =
default;
35 ContentDecoder(
const ContentDecoder&) =
delete;
37 ContentDecoder(ContentDecoder&&)
noexcept =
default;
39 ContentDecoder& operator=(
const ContentDecoder&) =
delete;
41 ContentDecoder& operator=(ContentDecoder&&)
noexcept =
default;
43 virtual ~ContentDecoder();
45 virtual std::size_t read() = 0;
47 bool isComplete()
const;
51 std::vector<
char>&& getContent();
54 std::vector<
char> content;
56 bool completed =
false;