uri_encode#
Functions
-
size_t uri_encode(const char *src, const size_t len, char *dst)#
Percent-encode
src, which is a buffer of lengthlen, and write the result todst.If
dstis NULL, only return its expected length (minus one).Returns the number of bytes written to
dst, not including the terminating NUL.
-
size_t uri_decode(const char *src, const size_t len, char *dst)#
Percent-decode
src, which is a buffer of lengthlen, and write the result todst.If
dstis NULL, only return its expected length (minus one).Returns the number of bytes written to
dst, not including the terminating NUL.