MySQL 9.6.0
Source Code Documentation
text_basic.h File Reference

Experimental API header. More...

#include <charconv>
#include <concepts>
#include <type_traits>
#include "mysql/math/int_pow.h"
#include "mysql/strconv/decode/parser.h"
#include "mysql/strconv/formats/text_format.h"

Go to the source code of this file.

Namespaces

namespace  mysql
 
namespace  mysql::strconv
 

Functions

template<std::integral Value_t>
constexpr void mysql::strconv::encode_impl (const Text_format &format, String_counter &counter, Value_t value)
 Compute the length of a text-formatted integer. More...
 
template<std::integral Value_t>
constexpr void mysql::strconv::encode_impl (const Text_format &format, String_writer &writer, Value_t value)
 Write a text-formatted integer to a String_writer. More...
 
void mysql::strconv::encode_impl (const Text_format &format, Is_string_target auto &target, const std::string_view &sv)
 Format the given string_view in text format, by copying the string data literally to the output buffer. More...
 
template<std::integral Value_t>
void mysql::strconv::decode_impl (const Text_format &format, Parser &parser, Value_t &out)
 Parse an integer in text format into out. More...
 

Detailed Description

Experimental API header.