IEncoding.hpp 614 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2022-01-03
  6. * Changed: 2024-05-31
  7. *
  8. * */
  9. #ifndef LS_STD_I_ENCODING_HPP
  10. #define LS_STD_I_ENCODING_HPP
  11. #include <ls-std/core/definition.hpp>
  12. #include <string>
  13. namespace ls::std::core::interface_type
  14. {
  15. ls_std_class IEncoding
  16. {
  17. public:
  18. IEncoding();
  19. virtual ~IEncoding();
  20. virtual ::std::string encode(const ::std::string &_sequence) = 0;
  21. virtual ::std::string decode(const ::std::string &_sequence) = 0;
  22. };
  23. }
  24. #endif