hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
multihash.hpp File Reference
#include <cstdint>
#include <vector>
#include "common/hexutils.hpp"
#include "common/result.hpp"
#include "interfaces/common_objects/byte_range.hpp"
#include "multihash/type.hpp"
#include "multihash/varint.hpp"
Include dependency graph for multihash.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  iroha::multihash::Multihash
 

Namespaces

 iroha
 
 iroha::multihash
 

Functions

iroha::expected::Result< Multihash, const char * > iroha::multihash::createFromBuffer (shared_model::interface::types::ByteRange buffer)
 Creates a multihash from a binary buffer. The first bytes denote the data type, then goes the length, and the following are the data. More...
 
template<typename Container >
void iroha::multihash::encodeVarIntType (Type multihash_type, Container &buffer)
 
template<typename OutputContainer >
void iroha::multihash::encodeHexAppend (Type multihash_type, shared_model::interface::types::ByteRange input, OutputContainer &output)