1 2 3 4 5 6 7 8 9 10 11 12 13 14
#pragma once #include <vector> #include "Swiften/Base/String.h" #include "Swiften/Base/ByteArray.h" namespace Swift { class Base64 { public: static String encode(const ByteArray& s); static ByteArray decode(const String &s); }; }