microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
base_views.hpp File Reference

Base64 and configurable binary formatting views. More...

#include "binary.hpp"
#include <cstddef>
#include <cstdint>
#include <string_view>
#include <type_traits>
#include "base_views.ipp"
Include dependency graph for base_views.hpp:

Go to the source code of this file.

Classes

struct  microfmt::base64_view
 
struct  microfmt::formatter< base64_view >
 
struct  microfmt::bin_grouped_view< T, typename >
 
struct  microfmt::formatter< bin_grouped_view< T > >
 

Namespaces

namespace  microfmt
 

Functions

constexpr base64_view microfmt::base64 (span< const uint8_t > bytes) noexcept
 
template<size_t N>
constexpr base64_view microfmt::base64 (const uint8_t(&arr)[N]) noexcept
 
template<typename T , std::enable_if_t< std::is_integral_v< T > &&!std::is_same_v< T, bool >, int > = 0>
constexpr auto microfmt::bin_grouped (T val, uint8_t group, char sep='_') noexcept
 

Detailed Description

Base64 and configurable binary formatting views.