diff options
author | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-08-19 16:52:39 +0200 |
---|---|---|
committer | Claudius 'keldu' Holeksa <mail@keldu.de> | 2024-08-19 16:52:39 +0200 |
commit | c3dd050ec7d7e775b62b0a8160ec4be4f671f035 (patch) | |
tree | b6f0753e30c0dd82e90e8747143c8cb1cf8ea84a /modules/codec | |
parent | e3cdbed1927683f920e14b4fb40bfdc6e2821906 (diff) |
Allow easier conversion and extraction to stl data. Also fixing indent
in json
Diffstat (limited to 'modules/codec')
-rw-r--r-- | modules/codec/c++/base64.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/codec/c++/base64.hpp b/modules/codec/c++/base64.hpp index fcd2f75..b65060e 100644 --- a/modules/codec/c++/base64.hpp +++ b/modules/codec/c++/base64.hpp @@ -30,6 +30,10 @@ public: return data_.at(i); } + std::string stl_string() const { + return data_; + } + bool operator==(const data<Schema, encode::Base64>& rhs) const { return data_ == rhs.data_; } |