[llvm] [SYCL][LLVM] Adding property set I/O library for SYCL (PR #110771)

Arvind Sudarsanam via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 1 17:30:11 PDT 2024


================
@@ -56,6 +56,32 @@ template <class InputBytes> std::string encodeBase64(InputBytes const &Bytes) {
 
 llvm::Error decodeBase64(llvm::StringRef Input, std::vector<char> &Output);
 
+// General-purpose Base64 encoder/decoder class wrapper.
+class Base64 {
+public:
+  using byte = uint8_t;
----------------
asudarsa wrote:

Thanks for the pointer. Since we have moved to C++17 and we intend only memory accesses here, std::byte is a good match. Will add the change in upcoming patch.

https://github.com/llvm/llvm-project/pull/110771


More information about the llvm-commits mailing list