QuickCppLib 0.10
Eliminate all the tedious hassle when making state-of-the-art C++ 14 - 23 libraries!
Loading...
Searching...
No Matches
quickcpplib::_xxx::algorithm::hash::sha256_hash::result_type Union Reference

The result type of the hash. More...

#include "hash.hpp"

Classes

struct  empty_type
 

Public Member Functions

constexpr result_type ()
 
constexpr result_type (uint32_t a, uint32_t b, uint32_t c, uint32_t d, uint32_t e, uint32_t f, uint32_t g, uint32_t h)
 

Public Attributes

struct quickcpplib::_xxx::algorithm::hash::sha256_hash::result_type::empty_type _empty
 
uint8_t as_bytes [32]
 
uint32_t as_ints [8]
 
uint64_t as_longlongs [4]
 

Detailed Description

The result type of the hash.

Constructor & Destructor Documentation

◆ result_type() [1/2]

constexpr quickcpplib::_xxx::algorithm::hash::sha256_hash::result_type::result_type ( )
inlineconstexpr
736 : _empty{}
737 {
738 }
struct quickcpplib::_xxx::algorithm::hash::sha256_hash::result_type::empty_type _empty

◆ result_type() [2/2]

constexpr quickcpplib::_xxx::algorithm::hash::sha256_hash::result_type::result_type ( uint32_t  a,
uint32_t  b,
uint32_t  c,
uint32_t  d,
uint32_t  e,
uint32_t  f,
uint32_t  g,
uint32_t  h 
)
inlineconstexpr
740 : as_ints{a, b, c, d, e, f, g, h}
741 {
742 }
constexpr Combined c
Definition test_optional.cpp:1460

Member Data Documentation

◆ _empty

struct quickcpplib::_xxx::algorithm::hash::sha256_hash::result_type::empty_type quickcpplib::_xxx::algorithm::hash::sha256_hash::result_type::_empty

◆ as_bytes

uint8_t quickcpplib::_xxx::algorithm::hash::sha256_hash::result_type::as_bytes[32]

◆ as_ints

uint32_t quickcpplib::_xxx::algorithm::hash::sha256_hash::result_type::as_ints[8]

◆ as_longlongs

uint64_t quickcpplib::_xxx::algorithm::hash::sha256_hash::result_type::as_longlongs[4]

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