PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Public Member Functions | List of all members
blob_uint512 Class Reference

512-bit unsigned big integer. More...

#include <uint512.h>

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

Public Member Functions

 blob_uint512 ()
 
 blob_uint512 (const base_blob< 512 > &b)
 
 blob_uint512 (const std::vector< unsigned char > &vch)
 
blob_uint256 trim256 () const
 
- Public Member Functions inherited from base_blob< 512 >
 base_blob ()
 
 base_blob (const std::vector< unsigned char > &vch)
 
bool IsNull () const
 
void SetNull ()
 
std::string GetHex () const
 
void SetHex (const char *psz)
 
void SetHex (const std::string &str)
 
std::string ToString () const
 
unsigned char * begin ()
 
const unsigned char * begin () const
 
unsigned char * end ()
 
const unsigned char * end () const
 
unsigned int size () const
 
unsigned int GetSerializeSize (int nType, int nVersion) const
 
void Serialize (Stream &s, int nType, int nVersion) const
 
void Unserialize (Stream &s, int nType, int nVersion)
 

Additional Inherited Members

- Public Types inherited from base_blob< 512 >
enum  
 
- Public Attributes inherited from base_blob< 512 >
uint8_t data [WIDTH]
 

Detailed Description

512-bit unsigned big integer.

Definition at line 12 of file uint512.h.

Constructor & Destructor Documentation

◆ blob_uint512() [1/3]

blob_uint512::blob_uint512 ( )
inline

Definition at line 15 of file uint512.h.

◆ blob_uint512() [2/3]

blob_uint512::blob_uint512 ( const base_blob< 512 > &  b)
inline

Definition at line 16 of file uint512.h.

◆ blob_uint512() [3/3]

blob_uint512::blob_uint512 ( const std::vector< unsigned char > &  vch)
inlineexplicit

Definition at line 17 of file uint512.h.

Member Function Documentation

◆ trim256()

blob_uint256 blob_uint512::trim256 ( ) const
inline

Definition at line 19 of file uint512.h.

Here is the call graph for this function:

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