feat(render): add base64 encode/decode helpers
This commit is contained in:
1 parent
56dd2ce25a
commit
9d2cfac230
2 files changed
+67
No files matched your search
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace vf {
|
||||
|
||||
std::string base64Encode(const std::vector<uint8_t>& bytes);
|
||||
std::vector<uint8_t> base64Decode(const std::string& text);
|
||||
|
||||
} // namespace vf
|
||||
Reference in new issue
Block a user