Added Encodings::Hex::decode
This commit is contained in:
parent
3ab582d60b
commit
228a03a004
2 changed files with 13 additions and 0 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue