public:
Encoder(): mode(ASCII) { }
void encode_char(wchar_t);
- void sync() { switch_mode(ASCII); }
+ void sync();
private:
Mode mode;
Decoder();
void decode_char(const std::string &, std::string::const_iterator &);
void sync();
+ void reset();
private:
Mode mode;
StringCodec::Decoder *dec;