BufLen: how much characters you should allocate for 'char* to' buffers.
| 64 | |
| 65 | //*BufLen: how much characters you should allocate for 'char* to' buffers. |
| 66 | constexpr size_t CgiEscapeBufLen(const size_t len) noexcept { |
| 67 | return 3 * len + 1; |
| 68 | } |
| 69 | |
| 70 | constexpr size_t CgiUnescapeBufLen(const size_t len) noexcept { |
| 71 | return len + 1; |
no outgoing calls
no test coverage detected