Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
pct.h File Reference

Percent-encoding and -decoding. More...

Include dependency graph for pct.h:

Go to the source code of this file.

Namespaces

 roc
 Root 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. More...
 
ROC_ATTR_NODISCARD bool roc::address::pct_decode (core::StringBuilder &dst, const char *src, size_t src_sz)
 Percent-decode an UTF-8 string. More...
 

Detailed Description

Percent-encoding and -decoding.

Definition in file pct.h.