Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | List of all members
uint160 Class Reference

160-bit opaque blob. More...

#include <uint256.h>

Inheritance diagram for uint160:
[legend]
Collaboration diagram for uint160:
[legend]

Public Member Functions

constexpr uint160 ()
 
 uint160 (const std::vector< uint8_t > &vch)
 
- Public Member Functions inherited from base_blob< 160 >
constexpr base_blob ()
 
constexpr base_blob (uint8_t v)
 
 base_blob (const std::vector< uint8_t > &vch)
 
bool IsNull () const
 
void SetNull ()
 
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
 
const uint8_tdata () const
 
uint8_tdata ()
 
uint8_tbegin ()
 
const uint8_tbegin () const
 
uint8_tend ()
 
const uint8_tend () const
 
unsigned int size () const
 
uint64_t GetUint64 (int pos) const
 
void Serialize (Stream &s) const
 
void Unserialize (Stream &s)
 

Additional Inherited Members

- Protected Attributes inherited from base_blob< 160 >
uint8_t m_data [WIDTH]
 
- Static Protected Attributes inherited from base_blob< 160 >
static constexpr int WIDTH
 

Detailed Description

160-bit opaque blob.

Note
This type is called uint160 for historical reasons only. It is an opaque blob of 160 bits and has no integer operations.

Definition at line 117 of file uint256.h.

Constructor & Destructor Documentation

◆ uint160() [1/2]

constexpr uint160::uint160 ( )
inlineconstexpr

Definition at line 119 of file uint256.h.

◆ uint160() [2/2]

uint160::uint160 ( const std::vector< uint8_t > &  vch)
inlineexplicit

Definition at line 120 of file uint256.h.


The documentation for this class was generated from the following file: