#include <crypto/common.h>
#include <span.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <algorithm>
#include <array>
#include <cassert>
#include <cstdint>
#include <cstring>
#include <optional>
#include <string>
#include <string_view>
Go to the source code of this file.
|
template<class uintN_t > |
std::optional< uintN_t > | detail::FromHex (std::string_view str) |
| Writes the hex string (in reverse byte order) into a new uintN_t object and only returns a value iff all of the checks pass: More...
|
|
template<class uintN_t > |
std::optional< uintN_t > | detail::FromUserHex (std::string_view input) |
| Like FromHex(std::string_view str), but allows an "0x" prefix and pads the input with leading zeroes if it is shorter than the expected length of uintN_t::size()*2. More...
|
|