|
JH-Toolkit v1.4.1
An engineering-oriented C++20 toolkit with duck-typed concepts, static design, async coroutines, and semantic containers โ header-only, RTTI-free, and concurrency-friendly.
|
High-level URI percent-encoding and decoding interface for the JH Toolkit. More...
#include <string>#include <vector>#include <stdexcept>#include "jh/macros/header_begin.h"#include "jh/macros/header_end.h"Go to the source code of this file.
Namespaces | |
| namespace | jh::serio |
| Aggregated entry point for serialization and codec utilities. | |
| namespace | jh::serio::uri |
| Implements URI percent-encoding and decoding utilities. | |
Functions | |
| std::string | jh::serio::uri::encode (const std::string_view &input) |
| Encode a string into URI percent-encoded form. | |
| std::string | jh::serio::uri::decode (const std::string_view &input) |
| Decode a percent-encoded URI string. | |
| std::string | jh::serio::uri::encode_safe (const std::string_view &input) |
| Encode a string into URI percent-encoded form with legality validation. | |
| std::string | jh::serio::uri::decode_safe (const std::string_view &input) |
| Decode a percent-encoded URI string with output validation. | |
High-level URI percent-encoding and decoding interface for the JH Toolkit.
This header provides a modern, safe, and portable implementation of URI percent-encoding and percent-decoding. It belongs to the JH Toolkit Serialization I/O module (jh::serio) and provides text-safe encoding utilities for URI and URL components.
jh::meta::base64. jh::meta::base64 enables embedding NTTP strings via macros and parsing them into binary resources. jh::serio.-O3). 1.4.1
2025