2024-01-31 22:28:19 -08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "EHS.h"
|
|
|
|
#include "Str.h"
|
|
|
|
|
|
|
|
namespace ehs
|
|
|
|
{
|
|
|
|
class URI
|
|
|
|
{
|
|
|
|
public:
|
2024-02-01 20:03:10 -08:00
|
|
|
/// Encodes specialized characters in the URI.
|
|
|
|
/// @param [in] in The URI to encode.
|
|
|
|
/// @returns The encoded URI.
|
2024-01-31 22:28:19 -08:00
|
|
|
static Str_8 Encode(const Str_8& in);
|
|
|
|
|
2024-02-01 20:03:10 -08:00
|
|
|
/// Decodes specialized characters back into their readable format.
|
|
|
|
/// @param [in] in The URI to decode.
|
|
|
|
/// @returns The decoded URI.
|
2024-01-31 22:28:19 -08:00
|
|
|
static Str_8 Decode(const Str_8& in);
|
|
|
|
};
|
|
|
|
}
|