Added Encodings::Hex::decode

This commit is contained in:
Thulinma 2016-09-02 14:31:20 +02:00
parent 3ab582d60b
commit 228a03a004
2 changed files with 13 additions and 0 deletions

View file

@ -33,6 +33,9 @@ namespace Encodings {
}
/// Encodes a single character as two hex digits in string form.
static std::string chr(char dec);
/// Decodes a hex-encoded std::string to a raw binary std::string.
static std::string decode(const std::string & in);
};
}