![]() |
Fabcoin Core
0.16.2
P2P Digital Currency
|
Template base class for fixed-sized opaque blobs. More...
#include <uint256.h>
Public Member Functions | |
| base_blob () | |
| base_blob (const std::vector< unsigned char > &vch) | |
| bool | IsNull () const |
| void | SetNull () |
| int | Compare (const base_blob &other) const |
| std::string | GetHex () const |
| std::string | GetReverseHex () const |
| void | SetHex (const char *psz) |
| void | SetHex (const std::string &str) |
| void | SetReverseHex (const char *psz) |
| void | SetReverseHex (const std::string &str) |
| std::string | ToString () const |
| unsigned char * | begin () |
| unsigned char * | end () |
| const unsigned char * | begin () const |
| const unsigned char * | end () const |
| unsigned int | size () const |
| uint64_t | GetUint64 (int pos) const |
| template<typename Stream > | |
| void | Serialize (Stream &s) const |
| template<typename Stream > | |
| void | Unserialize (Stream &s) |
Protected Types | |
| enum | { WIDTH =BITS/8 } |
Protected Attributes | |
| uint8_t | data [WIDTH] |
Friends | |
| bool | operator== (const base_blob &a, const base_blob &b) |
| bool | operator!= (const base_blob &a, const base_blob &b) |
| bool | operator< (const base_blob &a, const base_blob &b) |
Template base class for fixed-sized opaque blobs.
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
| std::string base_blob< BITS >::GetHex | ( | ) | const |
Definition at line 21 of file uint256.cpp.
| std::string base_blob< BITS >::GetReverseHex | ( | ) | const |
|
inline |
|
inline |
|
inline |
| void base_blob< BITS >::SetHex | ( | const char * | psz | ) |
Definition at line 39 of file uint256.cpp.
| void base_blob< BITS >::SetHex | ( | const std::string & | str | ) |
Definition at line 68 of file uint256.cpp.
|
inline |
| void base_blob< BITS >::SetReverseHex | ( | const char * | psz | ) |
| void base_blob< BITS >::SetReverseHex | ( | const std::string & | str | ) |
Definition at line 89 of file uint256.cpp.
|
inline |
| std::string base_blob< BITS >::ToString | ( | ) | const |
Definition at line 95 of file uint256.cpp.
|
inline |
1.8.11