1#ifndef TENDUKE_UTL_DEFAULTBASE64DECODER_H
2#define TENDUKE_UTL_DEFAULTBASE64DECODER_H
4#include "./Base64Decoder.h"
17 std::unique_ptr<BinaryData>
decode(
const std::string &base64EncodedString)
const override;
19 const char *base64EncodedString,
22 std::string
decodeString(
const std::string &base64EncodedString)
const override;
24 const char *base64EncodedString,
28 std::unique_ptr<BinaryData>
decodeUrlSafe(
const std::string &base64EncodedString)
const override;
30 const char *base64EncodedString,
35 const char *base64EncodedString,
Base64-decoder.
Definition Base64Decoder.h:17
Default tenduke::utl::Base64Decoder implementation.
Definition DefaultBase64Decoder.h:15
std::string decodeUrlSafeString(const char *base64EncodedString, std::size_t numBytes) const override
Decodes given URL-safe Base64-encoded string to string (assumes that the encoded data is a string).
std::unique_ptr< BinaryData > decode(const char *base64EncodedString, std::size_t numBytes) const override
Decodes given Base64-encoded string to bytes.
std::unique_ptr< BinaryData > decodeUrlSafe(const char *base64EncodedString, std::size_t numBytes) const override
Decodes given URL-safe Base64-encoded string to BinaryData.
std::unique_ptr< BinaryData > decode(const std::string &base64EncodedString) const override
Decodes given Base64-encoded string to bytes.
Definition DefaultBase64Decoder.cpp:73
std::string decodeUrlSafeString(const std::string &base64EncodedString) const override
Decodes given URL-safe Base64-encoded string to string (assumes that the encoded data is a string).
Definition DefaultBase64Decoder.cpp:141
std::unique_ptr< BinaryData > decodeUrlSafe(const std::string &base64EncodedString) const override
Decodes given URL-safe Base64-encoded string to BinaryData.
Definition DefaultBase64Decoder.cpp:120
std::string decodeString(const std::string &base64EncodedString) const override
Decodes given Base64-encoded string to string (assumes that the encoded data is a string).
Definition DefaultBase64Decoder.cpp:114
std::string decodeString(const char *base64EncodedString, std::size_t numBytes) const override
Decodes given 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