Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Codec.h
Go to the documentation of this file.
1#ifndef joedb_Codec_declared
2#define joedb_Codec_declared
3
5
6#include <string>
7
8namespace joedb
9{
10 /// @ingroup journal
11 class Codec: public virtual Decoder
12 {
13 public:
14 virtual std::string encode
15 (
16 const char *decoded,
17 size_t decoded_size
18 ) = 0;
19 };
20}
21
22#endif
virtual std::string encode(const char *decoded, size_t decoded_size)=0
Definition Blob.h:7