BuildCache
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
bcache::hasher_t::hash_t Class Reference

A helper class for storing the data hash. More...

#include <hasher.hpp>

Public Member Functions

uint8_t * data ()
 
const uint8_t * data () const
 
std::string as_string () const
 Convert a hash to a hexadecimal string. More...
 

Static Public Attributes

static const size_t SIZE = 16U
 

Private Attributes

uint8_t m_data [SIZE] {}
 

Detailed Description

A helper class for storing the data hash.

Member Function Documentation

◆ as_string()

std::string bcache::hasher_t::hash_t::as_string ( ) const

Convert a hash to a hexadecimal string.

Returns
A hexadecimal string representation of the given hash.

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