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

Escaped text and binary-buffer formatting views. More...

#include "../microfmt.hpp"
#include <cstddef>
#include <cstdint>
#include <string_view>
#include <type_traits>
#include "escaped.ipp"
Include dependency graph for escaped.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  microfmt::escaped_view
 
struct  microfmt::formatter< escaped_view >
 

Namespaces

namespace  microfmt
 

Functions

constexpr escaped_view microfmt::escaped (microfmt::string_view sv, bool quote=true, bool escape_quotes=true) noexcept
 
RELOCO_BEGIN_UNSAFE_CODE constexpr escaped_view microfmt::escaped (const char *str, size_t len, bool quote=true, bool escape_quotes=true) noexcept
 
RELOCO_END_UNSAFE_CODE RELOCO_BEGIN_UNSAFE_CODE escaped_view microfmt::escaped (span< const uint8_t > bytes, bool quote=true, bool escape_quotes=true) noexcept
 
template<size_t N>
RELOCO_END_UNSAFE_CODE constexpr escaped_view microfmt::escaped (const char(&arr)[N], bool quote=true, bool escape_quotes=true) noexcept
 
template<size_t N>
RELOCO_BEGIN_UNSAFE_CODE constexpr escaped_view microfmt::escaped (const uint8_t(&arr)[N], bool quote=true, bool escape_quotes=true) noexcept
 

Detailed Description

Escaped text and binary-buffer formatting views.