Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
Public Member Functions | List of all members
libzeth::hash_ostream_wrapper< HashT > Class Template Reference

Wrap some ostream, hashing data as it is written. More...

#include <hash_stream.hpp>

Public Member Functions

 hash_ostream_wrapper (std::ostream &inner_stream)
 
void get_hash (typename HashT::OutBuffer out_hash)
 

Detailed Description

template<typename HashT>
class libzeth::hash_ostream_wrapper< HashT >

Wrap some ostream, hashing data as it is written.

Definition at line 31 of file hash_stream.hpp.

Constructor & Destructor Documentation

◆ hash_ostream_wrapper()

template<typename HashT >
libzeth::hash_ostream_wrapper< HashT >::hash_ostream_wrapper ( std::ostream &  inner_stream)
explicit

Member Function Documentation

◆ get_hash()

template<typename HashT >
void libzeth::hash_ostream_wrapper< HashT >::get_hash ( typename HashT::OutBuffer  out_hash)

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