Kagome
Polkadot Runtime Engine in C++17
buffer.hpp File Reference
#include <string_view>
#include <vector>
#include <fmt/format.h>
#include <boost/container_hash/hash.hpp>
#include <boost/operators.hpp>
#include <gsl/span>
#include "common/buffer_view.hpp"
#include "common/size_limited_containers.hpp"
#include "hexutil.hpp"
#include "macro/endianness_utils.hpp"
#include "outcome/outcome.hpp"
Include dependency graph for buffer.hpp:

Go to the source code of this file.

Classes

class  kagome::common::SLBuffer< MaxSize >
 Class represents arbitrary (including empty) byte buffer. More...
 
struct  std::hash< kagome::common::SLBuffer< N > >
 
struct  fmt::formatter< kagome::common::Buffer >
 

Namespaces

 kagome::common
 
 kagome::common::literals
 

Typedefs

typedef SLBuffer< std::numeric_limits< size_t >::max()> kagome::common::Buffer
 
using kagome::common::BufferMutRef = std::reference_wrapper< Buffer >
 
using kagome::common::BufferConstRef = std::reference_wrapper< const Buffer >
 

Functions

template<size_t MaxSize>
std::ostream & kagome::common::operator<< (std::ostream &os, const SLBuffer< MaxSize > &buffer)
 
Buffer kagome::common::literals::operator""_buf (const char *c, size_t s)
 
Buffer kagome::common::literals::operator""_hex2buf (const char *c, size_t s)
 

Variables

static const Buffer kagome::common::kEmptyBuffer {}