MySQL 9.6.0
Source Code Documentation
binary_basic.h File Reference

Experimental API header. More...

Go to the source code of this file.

Namespaces

namespace  mysql
 
namespace  mysql::strconv
 

Functions

template<Is_string_target Target_t>
void mysql::strconv::encode_impl (const Binary_format &format, Target_t &target, const std::integral auto &value)
 Format an integer in variable-length, binary format. More...
 
void mysql::strconv::encode_impl (const Binary_format &format, Is_string_target auto &target, const std::string_view &sv)
 Format a string using variable-length, binary format for the length. More...
 
void mysql::strconv::decode_impl (const Binary_format &format, Parser &parser, std::integral auto &out)
 Parse an integral in variable-width integer format type into out, advance the position, and return the status. More...
 
void mysql::strconv::decode_impl (const Binary_format &format, Parser &parser, std::string_view &out)
 Parse a string in binary format, using variable-length integer format for the length; store the result by making the given std::string_view & point directly into the input string. More...
 
void mysql::strconv::decode_impl (const Binary_format &format, Parser &parser, Is_string_target auto &out)
 Parse a string in binary format, using variable-length integer format for the length; make the given std::string_ref & refer to the corresponding segment of the input buffer; advance the position; and return the status. More...
 

Detailed Description

Experimental API header.