Bitcoin ABC 0.26.3
P2P Digital Currency
|
#include <span.h>
#include <cassert>
#include <cstdint>
#include <cstring>
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
class | base_blob< BITS > |
Template base class for fixed-sized opaque blobs. More... | |
class | uint160 |
160-bit opaque blob. More... | |
class | uint256 |
256-bit opaque blob. More... | |
Functions | |
uint256 | uint256S (const char *str) |
uint256 from const char *. | |
uint256 | uint256S (const std::string &str) |
uint256 from std::string. | |
uint160 | uint160S (const char *str) |
uint160 | uint160S (const std::string &str) |
|
inline |
uint256 from const char *.
This is a separate function because the constructor uint256(const char*) can result in dangerously catching uint256(0).
Definition at line 143 of file uint256.h.
|
inline |
uint256 from std::string.
This is a separate function because the constructor uint256(const std::string &str) can result in dangerously catching uint256(0) via std::string(const char*).
Definition at line 155 of file uint256.h.