uriDecode

On success, returns a pointer to the terminating null character in the dst buffer.

If the src buffer contains an invalid '%XX' sequence, this function will stop decoding at that point copy the invalid sequence (along with a terminating null) to the dst buffer and return a pointer to the start of the invalid sequence.

Note that dst and src can point to the same string. The decoding is performed left-to-right so it still works.

  1. char* uriDecode(const(char)* src, char* dst, const(char)[] terminatingChars)
    char*
    uriDecode
    (
    const(char)* src
    ,
    char* dst
    ,
    const(char)[] terminatingChars = "\0"
    )
  2. char* uriDecode(const(char)[] src, char* dst)
  3. char* uriDecode(const(char)* src, const(char)* srcLimit, char* dst)

Meta