|
The reverse-byte hex representation is a convenient way to view the blob as a number, because it is consistent with the way the base_uint class converts blobs to numbers.
- Note
- base_uint treats the blob as an array of bytes with the numerically least significant byte first and the most significant byte last. Because numbers are typically written with the most significant digit first and the least significant digit last, the reverse hex display of the blob corresponds to the same numeric value that base_uint interprets from the blob.
|
| std::string | GetHex () const |
| |
| void | SetHex (std::string_view str) |
| |
| std::string | ToString () const |
| |
| constexpr const uint8_t * | data () const |
| |
| constexpr uint8_t * | data () |
| |
| constexpr uint8_t * | begin () |
| |
| constexpr uint8_t * | end () |
| |
| constexpr const uint8_t * | begin () const |
| |
| constexpr const uint8_t * | end () const |
| |
| constexpr uint64_t | GetUint64 (int pos) const |
| |
| template<typename Stream > |
| void | Serialize (Stream &s) const |
| |
| template<typename Stream > |
| void | Unserialize (Stream &s) |
| |
| static constexpr unsigned int | size () |
| |
template<unsigned int BITS>
class base_blob< BITS >
Template base class for fixed-sized opaque blobs.
Definition at line 20 of file uint256.h.