![]() |
Bitcoin Core
26.1.0
P2P Digital Currency
|
256-bit opaque blob. More...
#include <uint256.h>
Public Member Functions | |
| constexpr | uint256 ()=default |
| constexpr | uint256 (uint8_t v) |
| constexpr | uint256 (Span< const unsigned char > vch) |
Public Member Functions inherited from base_blob< 256 > | |
| constexpr | base_blob () |
| constexpr | base_blob (uint8_t v) |
| constexpr | base_blob (Span< const unsigned char > vch) |
| constexpr bool | IsNull () const |
| constexpr void | SetNull () |
| constexpr int | Compare (const base_blob &other) const |
| std::string | GetHex () const |
| void | SetHex (const char *psz) |
| void | SetHex (const std::string &str) |
| std::string | ToString () const |
| constexpr const unsigned char * | data () const |
| constexpr unsigned char * | data () |
| constexpr unsigned char * | begin () |
| constexpr const unsigned char * | begin () const |
| constexpr unsigned char * | end () |
| constexpr const unsigned char * | end () const |
| constexpr uint64_t | GetUint64 (int pos) const |
| void | Serialize (Stream &s) const |
| void | Unserialize (Stream &s) |
Static Public Attributes | |
| static const uint256 | ZERO |
| static const uint256 | ONE |
Additional Inherited Members | |
Static Public Member Functions inherited from base_blob< 256 > | |
| static constexpr unsigned int | size () |
Protected Attributes inherited from base_blob< 256 > | |
| std::array< uint8_t, WIDTH > | m_data |
Static Protected Attributes inherited from base_blob< 256 > | |
| static constexpr int | WIDTH |
256-bit opaque blob.
|
default |
|
inlineexplicit |
1.8.14