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

Go to the source code of this file.

Namespaces

 iroha
 
 iroha::multihash
 

Functions

template<typename NumberType >
bool iroha::multihash::readVarInt (shared_model::interface::types::ByteRange &buffer, NumberType &number)
 
template<typename NumberType , typename Container >
void iroha::multihash::encodeVarInt (NumberType number, Container &buffer)