Kurlyk
Loading...
Searching...
No Matches
Base64Url.hpp File Reference

Provides Base64url encoding and decoding (RFC 4648, no padding). More...

#include <string>
#include <vector>
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  kurlyk
 Primary namespace for the Kurlyk library, encompassing initialization, request management, and utility functions.
namespace  kurlyk::utils

Macros

#define _KURLYK_UTILS_BASE64URL_HPP_INCLUDED

Functions

std::string kurlyk::utils::base64url_encode (const uint8_t *data, std::size_t length)
 Encodes a byte buffer using Base64url (RFC 4648) without padding.
std::string kurlyk::utils::base64url_encode (const std::string &value)
 Encodes a string using Base64url (RFC 4648) without padding.
std::vector< uint8_t > kurlyk::utils::base64url_decode (const std::string &value)
 Decodes a Base64url string (RFC 4648, no padding) into bytes.

Detailed Description

Provides Base64url encoding and decoding (RFC 4648, no padding).

Definition in file Base64Url.hpp.

Macro Definition Documentation

◆ _KURLYK_UTILS_BASE64URL_HPP_INCLUDED

#define _KURLYK_UTILS_BASE64URL_HPP_INCLUDED

Definition at line 3 of file Base64Url.hpp.