Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
pct.h File Reference

Percent-encoding and -decoding. More...

Go to the source code of this file.

Namespaces

namespace  roc
 Root namespace.
namespace  roc::address
 URIs and addresses.

Enumerations

enum  roc::address::PctMode { roc::address::PctNonUnreserved , roc::address::PctNonHost , roc::address::PctNonPath }
 Percent-encoding mode. More...

Functions

ROC_ATTR_NODISCARD bool roc::address::pct_encode (core::StringBuilder &dst, const char *src, size_t src_sz, PctMode mode)
 Percent-encode an UTF-8 string.
ROC_ATTR_NODISCARD bool roc::address::pct_decode (core::StringBuilder &dst, const char *src, size_t src_sz)
 Percent-decode an UTF-8 string.

Detailed Description

Percent-encoding and -decoding.

Definition in file pct.h.