]> git.tdb.fi Git - libs/core.git/blobdiff - source/utf8.h
Added reset function for StringCodec::Decoder
[libs/core.git] / source / utf8.h
index 18f9ae58f93fa42421887422986e038c276e3abe..0475523cf52578216e9a63c4a4942ad1c18936e9 100644 (file)
@@ -20,6 +20,7 @@ public:
                Decoder(): bytes(0), code(0) { }
                void     decode_char(const std::string &, std::string::const_iterator &);
                void     sync();
                Decoder(): bytes(0), code(0) { }
                void     decode_char(const std::string &, std::string::const_iterator &);
                void     sync();
+               void     reset();
        private:
                unsigned bytes;
                unsigned code;
        private:
                unsigned bytes;
                unsigned code;