1#ifndef TENDUKE_UTL_BASE64DECODER_H
2#define TENDUKE_UTL_BASE64DECODER_H
4#include "utl/BinaryData.h"
26 virtual std::unique_ptr<BinaryData>
decode(
const std::string &base64EncodedString)
const = 0;
34 virtual std::unique_ptr<BinaryData>
decode(
35 const char *base64EncodedString,
44 virtual std::string
decodeString(
const std::string &base64EncodedString)
const = 0;
53 const char *base64EncodedString,
62 virtual std::unique_ptr<BinaryData>
decodeUrlSafe(
const std::string &base64EncodedString)
const = 0;
71 const char *base64EncodedString,
89 const char *base64EncodedString,
Base64-decoder.
Definition Base64Decoder.h:17
virtual std::string decodeString(const std::string &base64EncodedString) const =0
Decodes given Base64-encoded string to string (assumes that the encoded data is a string).
virtual std::string decodeString(const char *base64EncodedString, std::size_t numBytes) const =0
Decodes given Base64-encoded string to string (assumes that the encoded data is a string).
virtual std::unique_ptr< BinaryData > decodeUrlSafe(const std::string &base64EncodedString) const =0
Decodes given URL-safe Base64-encoded string to BinaryData.
virtual std::unique_ptr< BinaryData > decode(const std::string &base64EncodedString) const =0
Decodes given Base64-encoded string to bytes.
virtual std::string decodeUrlSafeString(const char *base64EncodedString, std::size_t numBytes) const =0
Decodes given URL-safe Base64-encoded string to string (assumes that the encoded data is a string).
virtual std::unique_ptr< BinaryData > decode(const char *base64EncodedString, std::size_t numBytes) const =0
Decodes given Base64-encoded string to bytes.
virtual std::unique_ptr< BinaryData > decodeUrlSafe(const char *base64EncodedString, std::size_t numBytes) const =0
Decodes given URL-safe Base64-encoded string to BinaryData.
virtual std::string decodeUrlSafeString(const std::string &base64EncodedString) const =0
Decodes given URL-safe Base64-encoded string to string (assumes that the encoded data is a string).
Utilities.
Definition Base64Decoder.h:10
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4