sf_pctdecode ============ Synopsis -------- *#include * .. function:: void sf_pctdecode(sf_vec *dest, const sf_vec *src) `sf_pctdecode` decodes percent-encoded string *src* and writes the result into *dest*. *src* should be the pointer to :member:`sf_value.vec` of type :enum:`sf_type.SF_TYPE_DISPSTRING` produced by either `sf_parser_dict`, `sf_parser_list`, `sf_parser_inner_list`, `sf_parser_item`, or `sf_parser_param`, otherwise the behavior is undefined. :member:`dest->base ` must point to the buffer that has sufficient space to store the decoded byte string. The memory areas pointed by :member:`dest->base ` and :member:`src->base ` must not overlap. This function sets the length of decoded byte string to :member:`dest->len `.