WPILibC++ 2023.4.3-108-ge5452e3
Base64.h File Reference
#include <stdint.h>
#include <cstddef>
#include <span>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  wpi
 

Functions

size_t wpi::Base64Decode (raw_ostream &os, std::string_view encoded)
 
size_t wpi::Base64Decode (std::string_view encoded, std::string *plain)
 
std::string_view wpi::Base64Decode (std::string_view encoded, size_t *num_read, SmallVectorImpl< char > &buf)
 
size_t wpi::Base64Decode (std::string_view encoded, std::vector< uint8_t > *plain)
 
std::span< uint8_t > wpi::Base64Decode (std::string_view encoded, size_t *num_read, SmallVectorImpl< uint8_t > &buf)
 
void wpi::Base64Encode (raw_ostream &os, std::string_view plain)
 
void wpi::Base64Encode (std::string_view plain, std::string *encoded)
 
std::string_view wpi::Base64Encode (std::string_view plain, SmallVectorImpl< char > &buf)
 
void wpi::Base64Encode (raw_ostream &os, std::span< const uint8_t > plain)
 
void wpi::Base64Encode (std::span< const uint8_t > plain, std::string *encoded)
 
std::string_view wpi::Base64Encode (std::span< const uint8_t > plain, SmallVectorImpl< char > &buf)