256-bit opaque blob.
More...
#include <uint256.h>
|
static std::optional< uint256 > | FromHex (std::string_view str) |
|
static constexpr unsigned int | size () |
|
256-bit opaque blob.
- Note
- This type is called uint256 for historical reasons only. It is an opaque blob of 256 bits and has no integer operations. Use arith_uint256 if those are required.
Definition at line 127 of file uint256.h.
◆ uint256() [1/3]
constexpr uint256::uint256 |
( |
| ) |
|
|
constexprdefault |
◆ uint256() [2/3]
constexpr uint256::uint256 |
( |
uint8_t |
v | ) |
|
|
inlineexplicitconstexpr |
◆ uint256() [3/3]
constexpr uint256::uint256 |
( |
Span< const unsigned char > |
vch | ) |
|
|
inlineexplicitconstexpr |
◆ FromHex()
static std::optional<uint256> uint256::FromHex |
( |
std::string_view |
str | ) |
|
|
inlinestatic |
◆ ONE
◆ ZERO
The documentation for this class was generated from the following files: