#include "Stroika/Foundation/StroikaPreComp.h"#include <span>#include <string>#include <string_view>#include "Stroika/Foundation/Characters/String.h"#include "Stroika/Foundation/Memory/BLOB.h"Go to the source code of this file.
Namespaces | |
| namespace | Stroika::Foundation |
| namespace | Stroika::Foundation::Cryptography::Encoding::Algorithm::Hex |
Functions | |
| string | Stroika::Foundation::Cryptography::Encoding::Algorithm::Hex::Encode (span< const byte > from) |
| The bytes as hex: two digits a byte, lower case - {0x29, 0x14} as "2914". | |
| string | Stroika::Foundation::Cryptography::Encoding::Algorithm::Hex::Encode (const Memory::BLOB &from) |
| The bytes as hex: two digits a byte, lower case. | |
| Memory::BLOB | Stroika::Foundation::Cryptography::Encoding::Algorithm::Hex::Decode (span< const char > s) |
| Hex read back into bytes: digits of either case; spaces before a byte's two digits skipped (so "29 14 4a" too). Throws DataExchange::BadFormatException on a character not a hex digit, or a byte's second digit missing. | |
| Memory::BLOB | Stroika::Foundation::Cryptography::Encoding::Algorithm::Hex::Decode (const char *s) |
| Hex read back into bytes. | |
| Memory::BLOB | Stroika::Foundation::Cryptography::Encoding::Algorithm::Hex::Decode (string_view s) |
| Hex read back into bytes. | |
| Memory::BLOB | Stroika::Foundation::Cryptography::Encoding::Algorithm::Hex::Decode (const string &s) |
| Hex read back into bytes. | |
| Memory::BLOB | Stroika::Foundation::Cryptography::Encoding::Algorithm::Hex::Decode (const Characters::String &s) |
| Hex read back into bytes. | |