22 static std::string
encode(std::string_view sv)
noexcept;
27 static std::string
decode(std::string_view sv)
noexcept;
42 static std::string
to_base36(std::uint32_t value)
noexcept;
Base64 encoding and decoding helper class.
Definition bytes.h:17
static std::string encode(std::string_view sv) noexcept
Transform an input string into base64 characters.
static std::string decode(std::string_view sv) noexcept
Transform an input string from from base64 characters.
static std::string_view bytes_to_string(const std::vector< std::uint8_t > &bytes) noexcept
Transform a vector of bytes into a string_view.
static std::vector< std::uint8_t > string_to_bytes(std::string_view sv) noexcept
Transform a string_view into a vector of bytes.
static std::string to_base36(std::uint32_t value) noexcept
Convert an 32-bit integer value to a base36 string.